Skip to content

Commit

Permalink
Split acceptance tests into Basic and Advanced Acceptance test classe…
Browse files Browse the repository at this point in the history
…s for readability. (airbytehq#13508)

Refactor the acceptance tests for readability & speed by splitting acceptance tests into a basic and advanced test class.

- Basic test class: Contains all tests around functionality that stays constant regardless of deployment. e.g. api changes. Only run for Docker.
- Advanced test class: Contains all tests around functionality that changes due to deployment. e.g. how we handle processes between Docker and Kubernetes. Runs for both Docker and Kubernetes.

The benefits are:
- Breaks up the huge monolith tests we have today for better readability. Preps us to run these tests on Cloud.
- Clarifies what tests run on what deployment.
- Gradle parallelises at the level of the test class, so we get some speed up. Anecdotally, this is faster by ~3 mins over the old Kubernetes acceptance tests.

There is some test fixture duplication, but I figured we can tackle that in a follow up PR.
  • Loading branch information
davinchia authored Jun 8, 2022
1 parent a54b0fc commit 5077852
Show file tree
Hide file tree
Showing 3 changed files with 1,249 additions and 747 deletions.
Loading

0 comments on commit 5077852

Please sign in to comment.