critical_test 3.0.9 copy "critical_test: ^3.0.9" to clipboard
critical_test: ^3.0.9 copied to clipboard

outdated

Critical Test is a cli tool designed to simplify the process of fixing broken unit tests in Dart.

3.0.9 #

Added:

  • Added code to run pub get on the package and any sub packages to ensure that the unit test run successfully from a code project.
  • Use --no-warmup to suppress the pub get operations.
  • Added a hidden --track switch so we can use it in our own unit tests with --single so we can confirm the trackers behaviour. Fixed a unit test that was failing because single tests don't normally track.

Fixes:

  • We now corretly track failed test that occur during a rerun. Previously we would loose track of these failures.
  • re-wrote the failed tracker to try to handle aborts. Previously the list of failed tests would be lost if user used ctrl-c during a test run. We now try to preserve the failed test list.

3.0.8 #

Upgraded package versions.

3.0.7 #

upgraded to dcli 1.5.3 Fixed so unit tests find critical test on windows.

3.0.6 #

  • upgraded to dcli 1.5.1
  • Added test that the test directory exists.
  • stripped ansi out of the count line for consistent regex matching.
  • Added check that the .failed_tracker file exists rather than throwing an exception.

3.0.3 #

Upgraded to dcli 1.5.0

Fixed a number of unit tests.

3.0.2 #

Added support for running dart scripts for hooks on windows and if dcli not installed.

3.0.1 #

Fixed a bug where we used the critical_tests project root rather than the target projects root to find hooks.

3.0.0 #

Simplified the hook path names and made them more consistent. the hook paths are now:

tool/critical_test/pre_hook tool/critical_test/post_hook

Added warning if a non-executable hook file is detected.

2.0.1 #

Fix: Fixed a bug with the path to failed tests .failed_tracker. The path had test/test/ as a prefix rather than just test/ Attempt to improve the error handling if one of the spawned commands fails.

2.0.0 #

Change the flag --logTo to --logPath. Changed the exit codes to conform close to what other packages use. 0 - is good, 1 is bad, 5 no test were ran. Added new command line arg --[no]-progress to improve the CI pipeline experience.

1.0.8 #

Fixed bug where the skipped count was reporting 0 when tests had been skipped. Added unit tests to check the counts. Attempts to improve the coverage support but still not writting to the correct directory. If the shelled unit tests fail to start we now print the error output. Fixed counting problems by checking for the hidden flag. Corrected the syntax of the tag argumetnts when passed to the test package. Fixed a bug where exclude-tags flag was passing the arg into the wrong variable. Cleaned up the messages. Now logs the package name we are running tests for. Added tags and exclude-tags command line options to allow control over what tests are run.

1.0.7 #

the critical test application now returns -1 if any tests failed. Added hidden verbose flag to make diagnostics easier.

1.0.6 #

Fixed a bug caused when a child process is spawned which directly prints to stdout. We now strip this out of the json messages to stop json decode problems.

1.0.5 #

Improvements to the readme.

1.0.4 #

Changed the run_failed switch to runfailed. spelling in the readme.

1.0.3 #

Minor cleanup on the readme.

1.0.2 #

renamed flag --run_failed to --runfailed Fixed a counting problem on the error logs when failures and errors occure.

1.0.1 #

Added noojee logo.

1.0.0 #

First release of critical test.

1
likes
0
pub points
0%
popularity

Publisher

verified publisheronepub.dev

Critical Test is a cli tool designed to simplify the process of fixing broken unit tests in Dart.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

args, dcli, meta, path

More

Packages that depend on critical_test