cocotb icon indicating copy to clipboard operation
cocotb copied to clipboard

deprecate `stage` in cocotb tests/RegressionManager

Open ktbarrett opened this issue 1 year ago • 3 comments

This feature existed to order tests logically into stages: tests from earlier stages are run before tests from later stages. But no additionally functionality wrt to this was added. Did a regression pass a stage? What does it mean if anything for it to pass a stage? Why can't the user just reorder tests lexically? Why does test order matter? Shouldn't they be independent?

I've also never seen it used in the wild.

So, I feel this should be deprecated without an alternative and removed in 3.0.

ktbarrett avatar Feb 19 '24 01:02 ktbarrett

FWIW, this came in via https://github.com/cocotb/cocotb/commit/a465523e6197b096b41e281cae6256dd61e9b997

cmarqu avatar Feb 19 '24 14:02 cmarqu

This can be used to ease the analysis of output files or the test outputs.

Any idea what's meant by this?

ktbarrett avatar Feb 19 '24 15:02 ktbarrett

Ping @wallento

cmarqu avatar Feb 19 '24 16:02 cmarqu