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
{{ message }}
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
There is already one test under scalatest, but the output is not checked. Before it can truly replace existing tests, we should have a way of using scalatest matchers to check the occurrence of certain elements in the log, such as should contain inOrder.
This should be implemented such that the stdout and stderr outputs are checked against the patterns.
Ideally, we could learn some common patterns through analysis of the test inputs, and the given test outputs.
The text was updated successfully, but these errors were encountered:
For matching the output, you can use the scalatest matchers: http://www.scalatest.org/user_guide/using_matchers
Probably List(...) should contain List(...) does the trick, where the first list is out, and the second list are the two strings in the argument list (in this particular test). err should be empty.
There is already one test under scalatest, but the output is not checked. Before it can truly replace existing tests, we should have a way of using scalatest matchers to check the occurrence of certain elements in the log, such as
should contain inOrder
.This should be implemented such that the stdout and stderr outputs are checked against the patterns.
Ideally, we could learn some common patterns through analysis of the test inputs, and the given test outputs.
The text was updated successfully, but these errors were encountered: