Releases: maxdeviant/startest
Releases · maxdeviant/startest
v0.5.1
v0.5.0
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
Added
- Added skipped test count to the test summary.
v0.3.0
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
Changed
- Upgraded
glint
to v1.0.0-rc2.
v0.2.3
Added
- Added
expect/to_loosely_equal
for asserting onFloat
values.
v0.2.2
Changed
- Pinned
glint
to v1.0.0-rc1.
v0.2.1
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
Added
- Added
startest.run
for running tests.startest.run
takes aConfig
and will auto-discover and run the tests.
- Added Startest CLI
- Calling
startest.run
in your testmain
will allow you to use the CLI viagleam test
.
- Calling
- Added dot reporter.
- Added a
finished
callback toReporter
.
Changed
- Changed
Reporter.report
to take aReporterContext
as the first argument.
Removed
- Removed
startest.run_tests
in favor ofstartest.run
.
v0.1.0
- Initial release.