The test data being used was generated a long time ago (circa cotv2 and cotv4). To help ensure the tests are relevant we should update the definitions with those from recent tasks.
I'm no expert in this regard, but I think the approach I would take is:
- Create
tests/data/cotv7 (and add associated constants / helper methods to test_cot_verify.py)
- Save modern task definitions there (e.g, decision task, actions.yml, etc)
- Attempt to convert as many tests over to this new data as possible
- Remove
cotv2 and cotv4 dirs. It might be fine for some tests to continue using the older data, but having a single data dir would simplify things...
- Verify no loss in code coverage.
The test data being used was generated a long time ago (circa
cotv2andcotv4). To help ensure the tests are relevant we should update the definitions with those from recent tasks.I'm no expert in this regard, but I think the approach I would take is:
tests/data/cotv7(and add associated constants / helper methods totest_cot_verify.py)cotv2andcotv4dirs. It might be fine for some tests to continue using the older data, but having a single data dir would simplify things...