Skip to content

Releases: PMA-2020/xform-test

0.3.2

11 Nov 00:18
Compare
Choose a tag to compare

Bugfixes

  • Fixed a bug in which warnings were being printed even when they should not be.

Improvements

  • Changed output type from unstructured text to JSON.

0.3.1

10 Nov 00:40
Compare
Choose a tag to compare

Bugfixes

  • Fixed bug in which program would crash if the last question/prompt in the form was not relevant.
  • Fixed a UX bug in which warnings would print twice.

Improvements

  • Improved clarity of error messaging.

Developer updates

  • Updated test files. Added new test cases.

0.3.0

01 Nov 18:24
Compare
Choose a tag to compare

New Features

  • Test multiple files with a single command.
  • Run multiple tests on a file in a single run.

Developer updates

  • Added tests.
  • Updates to makefile, such as for build/release process.

0.2.0

30 Oct 14:58
Compare
Choose a tag to compare

New Features

  1. Added 'n/a character .'. If putting . in the xform-test column, it is the same as leaving the column empty; stating that there are no assertions.
  2. Added character escaping for usage of : in literal strings, using backslash \.

Updates

  1. Added necessary requirement that every answerable question prompt not marked as require must at the very least have include a value assertion.

Bugfixes

  1. Fixed a bug in which assertions were not being checked if a question/prompt was not relevant.
  2. In tandem with bugfix 1, fixed bug where relevant assertion was sometimes not working correctly; either when assertion was relevant: false but was true, or relevant: true but was false.
  3. Via addition of new feature 2, bugs involving usage of the : character in literal strings were fixed. An assertion string such as '777: 1234' (now written as '777: 1234')no longer triggers a bug where XformTest thinks that '777' is an assertion field (e.g. value assertion, relevant assertion).
  4. Via addition of update 1, related bugs were fixed.

0.1.0

30 Oct 14:57
Compare
Choose a tag to compare

Initial release!

Read the docs: http://xform-test.pma2020.org

Future planned releases

30 Oct 15:02
Compare
Choose a tag to compare
Pre-release

0.3.0

New Features

  • Test multiple files with a single command.
  • Run multiple tests on a file in a single run.

Developer updates

  • Added tests.
  • Updates to makefile.

0.4.0

New Features

  • Traditional unit tests: Initial support for traditional one-off unit test cases and test suites.

0.5.0

New Features

  • Support for choices assertion
    Example markup:
{choices: yes no no_response}

General updates

  • Informative exception case: When mock value can't be inserted due to choice_filter
  • Informative exception case: Failure of choice_filter assertion