Enable Tempest to generate a clear and informative report
A Tempest test run should generate a report that is readable by people outside the Tempest developer group. Currently the report includes the test names with pass/fail, and stack traces for failing tests. this report doesn't say much to people not familiar with the specific tempest tests, let alone non-deveopers.
Proposal:
Since the test is actually a series of assertions, we could use them to generate a tree of module/
This could be further improved by adding documentation to each assertion detailing its purpose as part of the test.
This way, anyone reading this report can see what test is run and what checks it does to determine success.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Not
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Matthew Treinish
Related branches
Related bugs
Sprints
Whiteboard
Example
TestNetworkBasicOps [Pass]
--test_basic
--...
--...
--test_
--detach Floating IP [Pass]
--re-associate Floating IP [Fail]
--create_server [Pass]
--update Floating IP [pass]
--check_
-
--Fail Details
--test_update_dns [pass]
...
Currently this test will return Fail and a stack trace with the AssertionError and text "Timeout ping <IP>"
The proposed report will reveal to anyone unfamiliar with the test code that, while able to test basic connectivity and detaching FLIP from VM, Tempest tried to associate FLIP with a newly created VM but was unable to ping it.