-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localOption
is ignored by defaultMain
#32
Comments
The actual test running is done by tasty-silver/Test/Tasty/Silver/Interactive.hs Line 159 in e910c06
For a normal tasty test case (e.g. hspec, hunit, ...), does this option cause the crash? EDIT: I think the interactive option is only checked at the top-level: tasty-silver/Test/Tasty/Silver/Interactive.hs Line 325 in e910c06
|
For some more context, the basic idea was to have the interactive runner for the developer and the non-interactive for e.g. CI build servers or users who just want to run the test suite. The interactive runner assumes that e.g. |
My aim is to test the interactive mode also in CI, esp. since there were problems on the Windows side. My current take is to assume answer "y" when run in interactive mode but In general, I think that |
I am trying to set a local option for a test but it seems to be ignored by the test runner (
defaultMain
) oftasty-silver
.When applying and then querying the option, this script should crash with
error
. But it simply runs the test non-interactively.@phile314: You implemented the test runner. Where should
PlusTestOption
be usually handled?The text was updated successfully, but these errors were encountered: