diff --git a/exam-core/src/main/java/io/github/adven27/concordion/extensions/exam/core/commands/EqCommand.kt b/exam-core/src/main/java/io/github/adven27/concordion/extensions/exam/core/commands/EqCommand.kt index bc80ea73..2adea15b 100644 --- a/exam-core/src/main/java/io/github/adven27/concordion/extensions/exam/core/commands/EqCommand.kt +++ b/exam-core/src/main/java/io/github/adven27/concordion/extensions/exam/core/commands/EqCommand.kt @@ -21,7 +21,7 @@ import org.concordion.internal.util.Check open class EqCommand(val verifier: ContentVerifier) : AssertEqualsCommand() { companion object : KLogging() { - fun objectToString(any: Any?): String = any?.toString() ?: "(null)" + fun objectToString(any: Any?): String = any?.toString() ?: "(null)" } override fun verify(command: CommandCall, eval: Evaluator, resultRecorder: ResultRecorder, fixture: Fixture) { diff --git a/example/src/test/resources/specs/Specs.adoc b/example/src/test/resources/specs/Specs.adoc index f462b4b7..fac3d9d9 100644 --- a/example/src/test/resources/specs/Specs.adoc +++ b/example/src/test/resources/specs/Specs.adoc @@ -3,18 +3,18 @@ [.lead] Extension for https://github.com/concordion/concordion/[Concordion BDD framework] -include::overview.adoc[] +// include::overview.adoc[] include::plugin-core.adoc[] ''' -include::plugin-ws.adoc[] +// include::plugin-ws.adoc[] ''' -include::plugin-db.adoc[] +// include::plugin-db.adoc[] ''' -include::plugin-mq.adoc[] +// include::plugin-mq.adoc[] diff --git a/example/src/test/resources/specs/core-example.adoc b/example/src/test/resources/specs/core-example.adoc index 24ae80b5..8dbbd416 100644 --- a/example/src/test/resources/specs/core-example.adoc +++ b/example/src/test/resources/specs/core-example.adoc @@ -16,11 +16,25 @@ include::core-example.adoc[tags=e] .Before each example **** [.given] + +[e-db-set=ANDROIDS_TABLE] +|=== +|=== + Split the full name [e-execute=#result = split(#TEXT)]_Jane Smith_ **** .Dummy ==== + +.Ta +|=== +|Header 1 + +|Column 1, row 1 +|=== + + Result contains first name [e-eq=#result.first]_Jane_ and last name [e-eq=#result.second]_Smith_ ==== diff --git a/example/src/test/resources/specs/plugin-core.adoc b/example/src/test/resources/specs/plugin-core.adoc index e104dd8f..9818bbf4 100644 --- a/example/src/test/resources/specs/plugin-core.adoc +++ b/example/src/test/resources/specs/plugin-core.adoc @@ -13,16 +13,16 @@ Core commands enable abstract interactions and verifying capabilities. - `<>` - `<>` -include::core-equals.adoc[] - -include::core-set.adoc[] - -include::core-execute.adoc[] - -include::core-verify-rows.adoc[] - -include::core-run-and-echo.adoc[] +// include::core-equals.adoc[] +// +// include::core-set.adoc[] +// +// include::core-execute.adoc[] +// +// include::core-verify-rows.adoc[] +// +// include::core-run-and-echo.adoc[] include::core-example.adoc[] -include::core-handlebar.adoc[] +// include::core-handlebar.adoc[] diff --git a/example/src/test/resources/specs/plugin-mq.adoc b/example/src/test/resources/specs/plugin-mq.adoc index 1fb06615..6ab615de 100644 --- a/example/src/test/resources/specs/plugin-mq.adoc +++ b/example/src/test/resources/specs/plugin-mq.adoc @@ -263,6 +263,8 @@ include::../data/mq/msg.json[] //end::mq-check-custom[] ==== +link:MqCheckFailures.adoc[How failures look like?, role=e-run] + === e-mq-clean [[e-mq-clean]] Cleans specified queues.