Skip to content

Releases: zunit-zsh/zunit

v0.5.1

22 Feb 22:17
v0.5.1
Compare
Choose a tag to compare

Features

  • ZUnit now outputs version information prior to running tests (5d2b8d9)

v0.5.0

15 Feb 23:32
v0.5.0
Compare
Choose a tag to compare

Features

  • Allow a time limit for tests to be specified (#39)

Bugfixes

  • Fix file-based assertion methods so they work with absolute paths (f67eead)
  • Fix run helper so that modified $IFS variable is not passed to the subprocess (c678b61)

v0.4.3

15 Feb 12:45
fbdceff
Compare
Choose a tag to compare

Bugfixes

  • Ensures that tests are run in the order they are defined in the test file.

v0.4.2

15 Feb 12:44
v0.4.2
bec6ecf
Compare
Choose a tag to compare

Bugfixes

  • Removes an artificial 0.1s delay between tests that shouldn't have been committed.

v0.4.1

14 Feb 12:19
v0.4.1
Compare
Choose a tag to compare

Bugfixes

  • Remove accidentally committed which statement which resulted in errors being printed when a bootstrap script was sourced.

v0.4.0

13 Feb 21:23
v0.4.0
Compare
Choose a tag to compare

Features:

  • Implement bootstrap scripts (#22)
  • Add a shutdown handler for --fail-fast (#24)
  • HTML Reports (#25)
  • Travis config generation (#34)

Bugfixes:

  • Stop warnings counting as passed tests (#31)
  • Stop skipped tests resulting in overall failure (#32)
  • Ensure results are still printed when --fail-fast is specified (#33)

v0.3.0

28 Jan 03:08
v0.3.0
Compare
Choose a tag to compare
  • Fix test loading on systems with GNU find (977f35b)
  • Separate assertions tests into their own files for simplicity (4b4d871)
  • Fix ZSH 5.0 compatibility issues on Linux (1bd646f, c239ac7 and 2980a13) (Tested on Ubuntu 14.04, 16.04 and 15.10 - if anyone can test other versions/distros please do)
  • Support TAP output (#10)
  • Prevent zunit from being run when dependencies are missing (#11, #13)
  • Add ZSH completion file (#12)
  • Add report generation (#8, #16)
  • Support YAML config file (#14)
  • Add zunit init command to generate directory structure and config file (#15)
  • Allow tests to be skipped (#17)
  • Display a warning when a risky test (one without any assertions) is run, and add an option to supress this (#18)
  • Display summary of results in output (#19)
  • Add .travis.yml (#20)

v0.2.0

28 Nov 22:10
v0.2.0
a6fdf61
Compare
Choose a tag to compare
  • Allow relative paths to executables to be used with the run helper
  • Fix assertion method not found error when asserting against an empty value
  • Improved the performance and safety of the way tests are parsed and run
  • Add support for @setup and @teardown methods in test files, which are run before and after each test in the file
  • Adds --fail-fast CLI option, which stops execution immediately after the first failure

v0.2.0-beta-1

28 Sep 21:39
Compare
Choose a tag to compare
v0.2.0-beta-1 Pre-release
Pre-release
  • Allow relative paths to executables to be used with the run helper
  • Fix assertion method not found error when asserting against an empty value
  • Improved the performance and safety of the way tests are parsed and run
  • Add support for @setup and @teardown methods in test files, which are run before and after each test in the file
  • Adds --fail-fast CLI option, which stops execution immediately after the first failure

v0.1.1

26 Sep 21:43
Compare
Choose a tag to compare
  • Adds the following new assertion methods:
    • exists
    • is_file
    • is_dir
    • is_link
    • is_readable