The pytest.mark.group can be very helpful when it comes to organizing our tests.
In my case, I am using it to split the backup tests and having one group per cloud: microceph, aws, gcp.
However, on the summary of the tests, in the GH page, it shows as:
Integration test charm | 3.2.4 / ha/test_backups.py | group 1
Integration test charm | 3.2.4 / ha/test_backups.py | group 2
Integration test charm | 3.2.4 / ha/test_backups.py | group 3
Would be nice to be able to specify strings instead of int, then I could have instead:
Integration test charm | 3.2.4 / ha/test_backups.py | group microceph
Integration test charm | 3.2.4 / ha/test_backups.py | group aws
Integration test charm | 3.2.4 / ha/test_backups.py | group gcp
The pytest.mark.group can be very helpful when it comes to organizing our tests.
In my case, I am using it to split the backup tests and having one group per cloud: microceph, aws, gcp.
However, on the summary of the tests, in the GH page, it shows as:
Would be nice to be able to specify strings instead of int, then I could have instead: