Feature : Create a label for a test case to always execute it at last of test suite
Author: PratikMane0112Created Sep 11, 2026Updated Sep 11, 2026
I would like to propose a mechanism to implement a label, so when this label is added to a test case then that perticular test case will always execute at the end of the test suite of which test case is a part.
- I am using this library for my project for a test case which explicitely patch a custom CRD and later in test i delete a pod & see if the patched changes are recover automatically but thinking of scenario where test fails in between after patching the CRD then rest test cases will also fail which use this patched CRD with some removed containers.
- Yes, I know the test case will fail if there is regression but failing this perticular test case cause the next test case to fail which will use this patched CRD and as a result i might miss out some other bug which I can get from next test cases.
- I was searching for any logic which will enable a perticular test case to run always at the end of suite, so no other test case will get failed due to failure of a perticular test case.
- It would be really helpful if there is a label like "Serial", so when it is added to a test case then that perticular test will always run at the end of test suite of which the test case is part.
Source: onsi/ginkgo