From 186776a464a0366554ea61cf783e7e2a875b17e0 Mon Sep 17 00:00:00 2001 From: Ivan Velasco Date: Mon, 2 Sep 2024 16:50:21 -0600 Subject: [PATCH] docs: builtin vars --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a5a7ed5..bf0a9e0c 100644 --- a/README.md +++ b/README.md @@ -573,8 +573,8 @@ testcases: - name: testA steps: - type: exec - script: echo '{{.venom.testsuite}} {{.venom.testsuite.filename}} {{.venom.testcase}} {{.venom.teststep.number}} {{.venom.datetime}} {{.venom.timestamp}}' - # will display something as: MyTestSuite MyTestSuiteWithVenomBuiltinVar.yml testA 0 2018-08-05T21:38:24+02:00 1533497904 + script: echo '{{.venom.testsuite}} {{.venom.testsuite.filename}} {{.venom.testcase}} {{.venom.teststep.number}} {{.venom.datetime}} {{.venom.timestamp}} {{.venom.testcase.totalSteps}} {{.venom.testsuite.totalSteps}}' + # will display something as: MyTestSuite MyTestSuiteWithVenomBuiltinVar.yml testA 0 2018-08-05T21:38:24+02:00 1533497904 3 5 ``` @@ -585,6 +585,7 @@ Builtin variables: * {{.venom.libdir}} * {{.venom.outputdir}} * {{.venom.testcase}} +* {{.venom.testcase.totalSteps}} * {{.venom.teststep.number}} * {{.venom.testsuite.name}} * {{.venom.testsuite.filename}} @@ -592,6 +593,7 @@ Builtin variables: * {{.venom.testsuite.shortName}} * {{.venom.testsuite.workdir}} * {{.venom.testsuite}} +* {{.venom.testsuite.totalSteps}} * {{.venom.timestamp}}