This repository has been archived by the owner on May 21, 2023. It is now read-only.
forked from parroty/excheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: counter examples in failing tests [Closes parroty#36]
triq_reporter.report is now arity 2 and 3 commit 5988da597d439befe08eb1c1474e68ab7335ae06 Author: Adam Rutkowski <[email protected]> Date: Tue Jul 4 11:11:18 2017 +0200 Suppress failure print outs These should fail exactly like ExUnit Properly start the application Remove unnecessary IO capture Reimplement check/2 and add check!/2 triq agent fixup IO Server fixup Remove IO Server fixup Ensure triq_rnd is loaded Sometimes a race condition occurs when relying on -on_load alone. Add triq reporter module Configure triq reporter module Remove Error Agent Fix reporting failed cases Since 0.5.2 the data for failed cases is not shown in the test output. This fixes it while also making the failed cases display only once in umbrella projects. It seems `:reset_test_count` is called before generating the output, so cleaning `ErrAgent` there leads to surpressing the output. The approach taken here is to make `ErrAgent` clean itself when you read from it. That's fine because it's only ever read once (per project in case of umbrella) to generate the output.
- Loading branch information
1 parent
3334b47
commit 3c0096a
Showing
14 changed files
with
148 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
use Mix.Config | ||
|
||
config :excheck, :number_iterations, 100 | ||
config :triq, :reporter_module, ExCheck.TriqReporter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.