Commit graph

11 commits

Author SHA1 Message Date
56b38d04e0
chore(tests): improve test runner system
* Implements an extension to frktest's `lune_console_reporter` for
  displaying status of individual running test cases and suites -- with
  colors :O!
* Include mechanism for running select tests using the test runner
  script.
2024-12-02 11:07:59 +00:00
943136bb28
fix(tests): TypeError in basic stringify tests 2024-11-22 05:57:30 +00:00
12cad2ff0b
chore(tests): include basic stringification tests 2024-11-22 05:51:30 +00:00
9bde66aed4
chore(tests): apply formatting 2024-11-21 18:40:10 +00:00
79a4205f4d
chore(tests): multichar prerelease ordinal case 2024-11-21 18:23:27 +00:00
f6220d6295
fix: return error on invalid ordinal with points
Previously, if the ordinal contained dots (like 1.2.3-beta.3.4.5),
although it was invalid, an error would not be returned, which was
problematic. This has now been fixed.

Test cases are also included to prevent future regressions.
2024-11-21 18:21:19 +00:00
61f80fbf83
feat: implement tostring for SemverImpl
* `SemverImpl:__tostring` - Allows for stringifying a parsed semver instance
* Add TODO comment for future erroring for bad ordinal format
2024-11-21 17:20:48 +00:00
727692b31e chore(tests): migrate parse_invalid to use official frktest package 2024-11-12 20:24:52 +05:30
fc9a8701f6 chore(tests): migrate parse_valid to use official frktest package
Also removes `any` casts since https://github.com/itsfrank/frktest/issues/2 was resolved.
2024-11-12 20:23:51 +05:30
7311c439e3 chore(tests): migrate cmp test to use official frktest package 2024-11-12 20:22:17 +05:30
d67abb3186 chore: include test suites for library 2024-11-04 12:18:52 +05:30