I know the way to skip test suite is:
Let init_per_suite function return {skip, reason} value. But It will execute all commands in the init_per_suite function before skip.
I want to skip test suite immediately when a condition is met.
I know the way to skip test suite is:
Let init_per_suite function return {skip, reason} value. But It will execute all commands in the init_per_suite function before skip.
I want to skip test suite immediately when a condition is met.
Maybe just test the condition early in
init_per_suiteand abort:Or you can omit the testsuite from the command to start
common_test. For example, if you runcommon_testusingct_run, create a config which suites your requirements.