-
Notifications
You must be signed in to change notification settings - Fork 25
testing: Unify component integration tests structure #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| [tool.pytest] | ||
| addopts = ["-v"] | ||
| pythonpath = [ | ||
| "tests/test_cases", | ||
PiotrKorkus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "tests/test_cases/tests", | ||
| ] | ||
| testpaths = ["tests/test_cases/tests"] | ||
| markers = [ | ||
| "root_required", # root permissions are required for this test | ||
| "do_not_repeat", # do not repeat this test when using pytest-repeat | ||
| "only_nightly", # run this test only in nightly runs | ||
| ] | ||
| junit_log_passing_tests = true | ||
|
|
||
| [tool.pytest_env] | ||
| RUST_BACKTRACE = {value = "1", skip_if_set = true} | ||
This file was deleted.
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. imho, PYTHONPATH should be added and
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,7 @@ | |
| [pytest] | ||
| addopts = -v | ||
| testpaths = tests | ||
| pythonpath = tests | ||
| markers = | ||
| cpp | ||
| rust | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| psutil | ||
| pytest-metadata | ||
| pytest-env | ||
| testing-utils @ git+https://github.com/eclipse-score/testing_tools.git@v0.3.0 | ||
| testing-utils @ git+https://github.com/eclipse-score/testing_tools.git@675395d4088c8eba708e21d9e5c4efbc75f6a6b0 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace with new version?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. needed changes are not included in newest release yet
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why and what are those changes?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. eclipse-score/testing_tools#14 enables passing extra options to |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will similar changes be introduced to other repositories? Or is it per-repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its already on mains in kyron and ref_int