tmt icon indicating copy to clipboard operation
tmt copied to clipboard

Fix heading detection logic and enforce correct Test/Step/Expect structure

Open AthreyVinay opened this issue 3 months ago • 1 comments

Probable fix for: #4176

Updated https://tmt.readthedocs.io/en/stable/spec/tests.html#manual & also improves the T008 linter warning.

This might be completely incorrect as noted here: https://github.com/teemtee/tmt/issues/4176#issuecomment-3524544662

AthreyVinay avatar Nov 14 '25 13:11 AthreyVinay

@LecrisUT: refactor: a humble effort :)

AthreyVinay avatar Nov 19 '25 13:11 AthreyVinay

Subsequent PR: #4362

AthreyVinay avatar Nov 24 '25 15:11 AthreyVinay

@AthreyVinay please check the test failures

LecrisUT avatar Nov 26 '25 12:11 LecrisUT

Hah, tests are failing because it was using git merged reference which has the newer tests, but the packit build used the PR source which did not have the changes related to the tests. That is a fun combo to be aware of

LecrisUT avatar Nov 27 '25 17:11 LecrisUT

That is a fun combo to be aware of

Thanks for following up on this!

AthreyVinay avatar Nov 27 '25 17:11 AthreyVinay