Skip to content

@joeflack4 joeflack4 released this Nov 11, 2018 · 6 commits to master since this release

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.
Assets 3

@joeflack4 joeflack4 released this Nov 10, 2018 · 7 commits to master since this release

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.
Assets 3

@joeflack4 joeflack4 released this Nov 1, 2018 · 8 commits to master since this release

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.
Assets 3

@joeflack4 joeflack4 released this Oct 30, 2018 · 9 commits to master since this release

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.
Assets 3

@joeflack4 joeflack4 released this Oct 30, 2018 · 9 commits to master since this release

Initial release!

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

Assets 3
Pre-release

@joeflack4 joeflack4 released this Oct 30, 2018 · 9 commits to master since this 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
Assets 2
You can’t perform that action at this time.