
cucumber - Behavior-Driven Development for R
Write executable specifications in a natural language that describes how your code should behave. Write specifications in feature files using 'Gherkin' language and execute them using functions implemented in R. Use them as an extension to your 'testthat' tests to provide a high level description of how your code works.
Last updated
acceptance-testingbehavior-driven-developmentcucumberspecificationtestingquarto
6.47 score 31 stars 12 scripts 288 downloads
muttest - Mutation Testing
Measure quality of your tests. 'muttest' introduces small changes (mutations) to your code and runs your tests to check if they catch the changes. If they do, your tests are good. If not, your assertions are not specific enough. 'muttest' gives you percent score of how often your tests catch the changes.
Last updated
mutation-testingtestingtesting-toolstestthat
6.24 score 23 stars 2 scripts 530 downloads
functiondepends - Find Functions and their Dependencies
Find functions in an unstructured directory and explore their dependencies. Sourcing of R source files is performed without side-effects: from R scripts that have executable code and function definitions only functions are sourced.
Last updated
5.33 score 13 stars 1 dependents 11 scripts 225 downloadsr6methods - Make Methods for R6 Classes
Generate boilerplate code for R6 classes. Given R6 class create getters and/or setters for selected class fields or use RStudio addins to insert methods straight into class definition.
Last updated
3.78 score 11 stars 11 scripts 187 downloads