Skip to content

Releases: maxdeviant/startest

v0.5.1

22 Nov 01:51
Compare
Choose a tag to compare

Changed

  • Upgraded tom to v1.1.0.

v0.5.0

01 Aug 00:00
Compare
Choose a tag to compare

Added

  • Added expect/string_to_not_start_with for asserting that a string does not start with another string.
  • Added expect/string_to_not_end_with for asserting that a string does not end with another string.

Changed

  • Upgraded simplifile to v2.0.1.

v0.4.0

14 Jun 20:33
Compare
Choose a tag to compare

Added

  • Added skipped test count to the test summary.

v0.3.0

11 Jun 17:08
Compare
Choose a tag to compare

Added

  • Added expect/string_to_contain for asserting that a string contains another string.
  • Added expect/string_to_not_contain for asserting that a string does not contain another string.
  • Added expect/string_to_start_with for asserting that a string starts with another string.
  • Added expect/string_to_end_with for asserting that a string ends with another string.
  • Added expect/list_to_contain for asserting that a list contains a given element.
  • Added expect/list_to_not_contain for asserting that a list does not contain a given element.

Changed

  • Fixed warnings with gleam_stdlib v0.38.0.

v0.2.4

18 May 19:25
Compare
Choose a tag to compare

Changed

  • Upgraded glint to v1.0.0-rc2.

v0.2.3

14 May 02:46
Compare
Choose a tag to compare

Added

  • Added expect/to_loosely_equal for asserting on Float values.

v0.2.2

07 May 01:19
Compare
Choose a tag to compare

Changed

  • Pinned glint to v1.0.0-rc1.

v0.2.1

27 Apr 19:56
Compare
Choose a tag to compare

Added

  • Added test filtering using positional arguments to the CLI.
    • You can provide zero or more test filepaths for filtering.
    • gleam test -- example will run all tests in files that have "example" in their name.
    • gleam test -- test/startest_test.gleam will run just the tests in the specified file.

Changed

  • Renamed --filter CLI flag to --test-name-filter.

v0.2.0

21 Apr 03:49
Compare
Choose a tag to compare

Added

  • Added startest.run for running tests.
    • startest.run takes a Config and will auto-discover and run the tests.
  • Added Startest CLI
    • Calling startest.run in your test main will allow you to use the CLI via gleam test.
  • Added dot reporter.
  • Added a finished callback to Reporter.

Changed

  • Changed Reporter.report to take a ReporterContext as the first argument.

Removed

  • Removed startest.run_tests in favor of startest.run.

v0.1.0

20 Apr 02:48
Compare
Choose a tag to compare
  • Initial release.