[Feature Request] suite_setup and suite_teardown #47
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
sample
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Some tests require multiple resources to exist.
Take the case of: creating a Job (
job_service.CreateJob
)To be able to create a Job, you need:
So this means that, if I have 10 Job tests and I setup/teardown these sources for each test case, the suite makes 20x create API requests and 20x delete API requests (40x requests)
If we had
suite_setup
(or something similarly named) which ran before the whole suite, we could reduce this to 2x create calls and 2x delete calls (4x API calls = 1 order of magnitude fewer)The text was updated successfully, but these errors were encountered: