Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: test case and test suite totalSteps built-in variables added #812

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

09bassOp
Copy link

@09bassOp 09bassOp commented Sep 2, 2024

close #808

  "venom.testcase.totalSteps": "3",
  "venom.teststep.number": "1",
  "venom.testsuite.totalSteps": "5",
  • I have adjusted the teststep.number and test case numbering to be 1-based instead of zero-based indexing.

Now, the dumps logged in the console will display as follows:

 • test.venom (test.venom.yml)
        • Test-1
                • http PASS
                • http PASS
                  [trac] writing output/test-venom.Test-1.testcase.1.step.1.0.dump.json
                  [trac] writing output/test-venom.Test-1.testcase.1.step.2.0.dump.json
        • Test-2
                • http PASS
                • http PASS
                • http PASS
                  [trac] writing output/test-venom.Test-2.testcase.2.step.1.0.dump.json
                  [trac] writing output/test-venom.Test-2.testcase.2.step.2.0.dump.json
                  [trac] writing output/test-venom.Test-2.testcase.2.step.3.0.dump.json

@09bassOp 09bassOp changed the title test case and test suite totalSteps variables added #808 test case and test suite totalSteps built-in variables added Sep 2, 2024
@09bassOp 09bassOp changed the title #808 test case and test suite totalSteps built-in variables added feat: test case and test suite totalSteps built-in variables added Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add built-in variable to get the number of tests to be executed
1 participant