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.
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.
Create an interpreter test.
Create an interpreter test. The file name is the one that should be loaded to obtain definitions. The query string is run against the loaded definitions to obtain some textual output, which is compared against the expected output.
(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
Tests that check that the queries run correctly. I.e., given a base Prolog file containing definitions, that running specific queries over those definitions give the expected results.