Description
I'd like to begin work refactoring the tests. This ticket serves as a place to begin discussion on how to go about this work.
At the very least, I'd love to see the tests split up so that we can run them individually. This will ease development on the rules.
Additionally, I'd love to have a way to run the same tests while varying configuration-- mostly this means varying toolchains and/or specific providers passed to targets while running whole suites of tests. Protobuf fails on windows, currently, so imagine being able to skip the protobuf suite for windows.
Possible approaches:
-
bash scripts
This would work, but runs the risk of being overly complicated and/or hard to maintain. It was somewhat successful in https://github.com/higherkindness/rules_scala. Additionally, these tests sit outside Bazel and there's no caching for unhappy path tests. -
https://github.com/bazelbuild/bazel-integration-testing.
I don't have much info here, but my understanding is that @ittaiz is quite experienced with it. I have a personal TODO to investigate this further.