A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.
Assert that a message was produced at a given position.
Assert that a message was produced at a given position.
Assert that a parsing operation should not result in success.
Assert that a parsing operation should not result in success.
Try to parse str as a T using the parser p, which is expected
to not succeed, giving either a fatal error or failure (as specified
by the iserr parameter, which defaults to failure). Fail the test
if the parsing operation succeeds. Furthermore, fail the test if it
fails, but the error or failure is not indicated at the given line
and column location or doesn't contain the given message msg.
Assert that a parsing operation should be performed correctly.
Assert that a parsing operation should be performed correctly.
Try to parse str as a T using the parser p, which is expected
to succeed and to produce the given result. Fail if p doesn't
produce the given result or if p doesn't consume all of the input.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Analogous to ScalaTest's expect but it uses same to compare the two values instead of equality.
Fail a test with a message about finding something and expecting something else.
Fail a test with a message about finding something and expecting something else.
Fail a test with a message about reaching the end of the input.
Fail a test with a message about reaching the end of the input.
Fail a test with a message detailing a parse error.
Fail a test with a message detailing a parse error.
Fail a test with a message detailing a parse failure.
Fail a test with a message detailing a parse failure.
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Compare two values.
Compare two values. Use reference equality for references and value equality for non-references. If the values are both Some values, perform the check on the wrapped values.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.
This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of expectResult instead.
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0