-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to pytest based test-suite, and ensure tests can be run more easily locally. The main reasons to move to pytest are: - Allows to run a subset of the tests rather than full suite - Ensure better separation of tests vs helpers - Easily share code for setup/teardown between suites This commit also change dependency management to use poetry, this allows to setup the test environment locally in an easy and predictible way, it also ensure more reproductability for our test-suite as the dependencies are pinned. On a more functional end, switch to slim agent to allow test suites to chose their discovery handlers. Also stop using helm for configuration deployment to decorelate it from akri's installation, preventing possible noise in tests. Also makes use of watch instead of polling as much as possible to reduce waiting time (goes from about 3 minutes for e2e run to about 80 seconds). Hopefully this will make it easier to write more e2e tests. Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
- Loading branch information
1 parent
98b3bd5
commit 53e186e
Showing
11 changed files
with
1,194 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__pycache__ | ||
.pytest_cache |
Oops, something went wrong.