๐Ÿ“‚ test

test::endTest

Call this function after each test to write the test results to the report file. This create a new H3 section in the report file with the test description and the exit code.

  • $1: title as string: the title of the test
  • $2: exit code as int: the exit code of the test
  • $3: comment as string: (optional) a text to explain what is being tested (defaults to “”)
test::endTest "Testing something" $?

test::commentTest

Call this function to add a paragraph in the report file.

  • $1: comment as string: the text to add in the report file
test::commentTest "This is a comment."

Documentation generated for the version 0.20.345 (2024-08-14).