[E2E refactor - 7] refactor authorization e2e test#751
Conversation
|
The way you configured subtests here is non-conventional. Fundamentally, I see subtests as a grouping of tests. You do some common setup, and then you run similar tests as subtests. If you configure it this way, you get full tooling support. For example, in the past, if I was making changes to TLS and I want to run all TLS tests, I would do This is no longer possible here because:
Can you maybe explain some of your test philosophy? Maybe a different test framework would more closely align our individual philosophies (e.g. such as BDD style frameworks like Ginko which allow you to explicitly mark setup code). |
|
Yea - here you just run, e.g. I did it this way, against some convention for two reasons:
If we really wanted to force convention for our use case, we could look into changing the way we build our |
TheSpiritXIII
left a comment
There was a problem hiding this comment.
Approving this for now. Let's keep some of the drawbacks in mind and maybe we'll find a better solution for a subtest-supported test matrix in the future!
|
Thanks for the feedback - that SGTM! |
I decided to break out the kind E2E test refactor PR #738 into smaller, digestible PRs for reviewing.
Note: because of the nature of the change, presubmits (i.e. Github Actions) may fail until the final PR is merged.
This is the seventh one, where we refactor and simplify authorization e2e tests.