Skip to content

Releases: RevolutionAnalytics/quickcheck

3.5.0

18 May 16:35
Compare
Choose a tag to compare
3.5.0 Pre-release
Pre-release
  • time limit assertions to test performance
  • weighted mixtures
  • more consistent API, use parameters, functions or formulas to specify distributions anywhere it makes sense

3.4.0

27 Apr 19:12
Compare
Choose a tag to compare
3.4.0 Pre-release
Pre-release

Improvements

  • rewrite of rcharacter for speed and more intuitive semantics
  • flatten the acceptable values for some data generator options for the sake of simplicity
  • better parametrization of named and rnamed avoids coupling with rcharacter
  • restricted expect to only the necessary options, added defaults and arg completion

Fixes

  • fix a bug that disabled qc.option and qc.options in read mode
  • brought documentation up-to-date
  • resolve some stubborn complaints by R CMD check for a clean build

3.3.0

20 Apr 18:53
Compare
Choose a tag to compare
3.3.0 Pre-release
Pre-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.

3.2.0

01 Apr 20:22
Compare
Choose a tag to compare
3.2.0 Pre-release
Pre-release
  • new named and rnamed functions to provide named vector generation.
  • new forall function to define assertions while being more readable and conveying developer intent
  • test-by-test coverage analysis
    -repro accepts also a filename where test report data can be found
  • better messages

3.1.0

02 Mar 18:48
Compare
Choose a tag to compare
3.1.0 Pre-release
Pre-release

Thorough overhaul of generators, new coverage tool and more

  • distributions are now better parametrized, interface is uniform, defaults more user friendly
  • function no.coverage suggests which code needs more testing
  • ... which allowed us to bring the coverage for quickcheck itself to 90%, with numerous bugs biting the dust
  • system of package options, allows to alter behavior of existing tests to increase or decrease the severity of testing and its emphasis on one or another data structure, without changing the actual tests
  • LHS based random seeding for enhanced independence of tests with almost unaffected reproducibility of errors
  • sequential evaluation of assertion arguments makes implementing simple dependencies trivial, complex ones possible
  • improved test report contains information for each run, including timings
  • deep internal refactor for future maintainability, more consistency and general programming happiness.

quickcheck 3.0.0

23 Jan 19:42
Compare
Choose a tag to compare
quickcheck 3.0.0 Pre-release
Pre-release

First release for general use. Provides random data generators and functions for testing assertions on random data and reproducing failures. 3.x series will not observe backward compatibility, which will start from 4.x.