This change improves test step logging by introducing structured,
visually distinct banners for setup and teardown stages. All three stages —
setup, execution, and teardown — now use consistent formatting and
independent step counters.
Each stage logs with a unique source prefix (TSU, TST, TTD) to enhance
readability and enable grep-friendly, machine-parsable log analysis.
Step counters are reset before each test via pytest_runtest_setup.
Teardown steps can be registered using request.addfinalizer() to ensure
post-test cleanup is consistently logged.
These enhancements improve clarity, support structured debugging, and
make it easier to differentiate test phases in log output.
Test Plan:
- Verified log output for setup, test, and teardown stages.
- Confirmed step counters reset between test cases.
- Manually validated formatting, alignment, and log source prefixes.
Change-Id: I363d6aa10a6d63697c68bd40dd8c08a23c7d96fd
Signed-off-by: Andrew Vaillancourt <andrew.vaillancourt@windriver.com>