3.3.0
Pre-release
Pre-release
- package-level coverage information now browsable in shiny app,
no.coverage
renamedcoverage
, more appropriate to the new display - seeding of tests improved to re-seed when any of the functions under test is changed. Prevents developers from coding against specific selection of test cases: new code implies new test cases.
repro
gets a new argumentassertion
to test a new assertion against old test cases -- typically needed only when working on the assertion itself.- New argument
about
fortest
to declare which function the test is intended to be about. Default guesses correctly in most simple situations, but should not be trusted blindly. See also new functiontest.set
- Argument
cover
to functiontest
allows to specify which function we want coverage information about (only one for now). Also displayed in shiny app. - Argument
i
torepro
renamedwhich
for clarity, now defaults to smallest failing test case. - Function
test.set
allows to group related tests together and produces a report where each function name is followed by a list of assertions about that function; can be seen as a spec for the function when tests are extensive.