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 request: more detailed output result #485

Closed
lowlighter opened this issue Jan 11, 2022 · 0 comments · Fixed by #487
Closed

feat request: more detailed output result #485

lowlighter opened this issue Jan 11, 2022 · 0 comments · Fixed by #487

Comments

@lowlighter
Copy link
Member

It would be nice to have a more detailed output which show all steps, like range steps and custom executor steps, the current one is pretty barebone and make it hard to know what has been run.

Example:

$ venom run test/ports.yaml 
• Testsuite
!  • Testcase FAILURE (1/2 tests succeded)
+    • 123 SUCCESS
+      • tcp SUCCESS
+      • udp SUCCESS
!    • 53 FAILURE (1/2 tests succeded)
+      • tcp SUCCESS
-      • udp FAILURE
# Test suite
testcases:
  - name: Testcase
    steps:
      - type: checkPort
        host: 1.1.1.1
        range: [80, 443]
        port: '{{.value}}'

---
# Custom executor
executor: checkPort
steps:
  - name: {{.value.protocol}}
    type: exec
    script: nc -vz{{.value.arg}} {{.input.host}} {{.input.port}}
    range:
      - protocol: tcp
        arg: ""
      - protocol: udo
        arg: "u"
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 a pull request may close this issue.

1 participant