You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is essentially the same issue as reported in: #434
Since silently isn't thread-safe, end-users have few options here. Doctest (or doc-spec) can run output producing functions and test-them inline, so surely that technology can be ported to tasty?
In any case, would it be meaningful to add a facility to test IO () functions where their stdout acts as the test-output?
The text was updated successfully, but these errors were encountered:
Sounds useful, although I'm not sure it is easy / possible to implement in Tasty. The problem is that stdout is global, process-wide. One would have to force single-threaded test execution + add locks around progress / result reporting.
This is essentially the same issue as reported in: #434
Since
silently
isn't thread-safe, end-users have few options here. Doctest (or doc-spec) can run output producing functions and test-them inline, so surely that technology can be ported to tasty?In any case, would it be meaningful to add a facility to test
IO ()
functions where theirstdout
acts as the test-output?The text was updated successfully, but these errors were encountered: