Skip to content

3.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@piccolbo piccolbo released this 20 Apr 18:53
· 88 commits to master since this release
  • package-level coverage information now browsable in shiny app, no.coverage renamed coverage, 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 argument assertion to test a new assertion against old test cases -- typically needed only when working on the assertion itself.
  • New argument about for test 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 function test.set
  • Argument cover to function test allows to specify which function we want coverage information about (only one for now). Also displayed in shiny app.
  • Argument i to repro renamed which 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.