-
Notifications
You must be signed in to change notification settings - Fork 198
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
Use Pytest for test execution #1043
Commits on May 9, 2024
-
Create parallel testsuite using pytest
Adds a dependency for pytest and configurates it to search for files following the pytest_* scheme. After the transition to pytest is completed and the nose-based testsuite can be safely removed, it is probably a good idea to rename the pytest-based testsuite back to the current test_* scheme. While having both testsuites at the same time causes temporary code duplication, it makes the transition process easier and allows quick three-way diffs between the main branch and the, on this branch, unmodified tests (via git diff) and the changes specific to pytest (via regular diff on this branch).
Configuration menu - View commit details
-
Copy full SHA for 8294d5f - Browse repository at this point
Copy the full SHA 8294d5fView commit details -
Exclude pytest_* files from ruff wildcard import warning
The same already applies to the existing nose-based testsuite - using wildcard imports shortens test code significantly
Configuration menu - View commit details
-
Copy full SHA for 898cf57 - Browse repository at this point
Copy the full SHA 898cf57View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4cc9cb - Browse repository at this point
Copy the full SHA a4cc9cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f72b39d - Browse repository at this point
Copy the full SHA f72b39dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd880e - Browse repository at this point
Copy the full SHA 9dd880eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 569b6d8 - Browse repository at this point
Copy the full SHA 569b6d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 469ac3c - Browse repository at this point
Copy the full SHA 469ac3cView commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 38daff1 - Browse repository at this point
Copy the full SHA 38daff1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c70b08e - Browse repository at this point
Copy the full SHA c70b08eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ede849 - Browse repository at this point
Copy the full SHA 6ede849View commit details
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 715f777 - Browse repository at this point
Copy the full SHA 715f777View commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68396cc - Browse repository at this point
Copy the full SHA 68396ccView commit details
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 22a7998 - Browse repository at this point
Copy the full SHA 22a7998View commit details -
Add pytest testsuite to Gitlab CI
Saves the coverage of both testsuites, to allow us to compare them (and make sure the nose-based testsuite hasn't had a regression for some reason)
Configuration menu - View commit details
-
Copy full SHA for de9f2a1 - Browse repository at this point
Copy the full SHA de9f2a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5f2f3c - Browse repository at this point
Copy the full SHA e5f2f3cView commit details
Commits on May 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 890fa5d - Browse repository at this point
Copy the full SHA 890fa5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34abf3b - Browse repository at this point
Copy the full SHA 34abf3bView commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6eec07 - Browse repository at this point
Copy the full SHA d6eec07View commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e3f291b - Browse repository at this point
Copy the full SHA e3f291bView commit details
Commits on Jun 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5952499 - Browse repository at this point
Copy the full SHA 5952499View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57f8852 - Browse repository at this point
Copy the full SHA 57f8852View commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2a20063 - Browse repository at this point
Copy the full SHA 2a20063View commit details
Commits on Jun 16, 2024
-
Ported test_analyze_run_result, test_benchmark_definition, test_core_…
…assignment, test_pqos to pytest
Configuration menu - View commit details
-
Copy full SHA for e2c614d - Browse repository at this point
Copy the full SHA e2c614dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f417ae5 - Browse repository at this point
Copy the full SHA f417ae5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ed6c2e - Browse repository at this point
Copy the full SHA 5ed6c2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ae6a3 - Browse repository at this point
Copy the full SHA 51ae6a3View commit details
Commits on Jun 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3ce2480 - Browse repository at this point
Copy the full SHA 3ce2480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72647bf - Browse repository at this point
Copy the full SHA 72647bfView commit details -
changed code under test: added additional assertions, copying context…
… from default context The current implementation fails under pytest, as the context (as given by getcontext()) is already derived from the DefaultContext *before* we change the rounding to our preferred value. Thus, the assertion correctly fails, as the first process still has the default ROUND_HALF_EVEN value, even though all decending processes do possess the correct value of ROUND_HALF_UP. As a solution, we can copy the DefaultContext as the context of the initial thread. As the assertion afterwards becomes very obviously true, additional assertions are added, to check if the individual processes have the correct rounding.
Configuration menu - View commit details
-
Copy full SHA for c78717f - Browse repository at this point
Copy the full SHA c78717fView commit details
Commits on Jun 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f6bec7d - Browse repository at this point
Copy the full SHA f6bec7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9e0086 - Browse repository at this point
Copy the full SHA b9e0086View commit details
Commits on Jul 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2307f4a - Browse repository at this point
Copy the full SHA 2307f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 373b379 - Browse repository at this point
Copy the full SHA 373b379View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd7c96 - Browse repository at this point
Copy the full SHA bcd7c96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 795d824 - Browse repository at this point
Copy the full SHA 795d824View commit details
Commits on Jul 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89a86b1 - Browse repository at this point
Copy the full SHA 89a86b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54ec0d3 - Browse repository at this point
Copy the full SHA 54ec0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67eb186 - Browse repository at this point
Copy the full SHA 67eb186View commit details
Commits on Jul 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 674f7e0 - Browse repository at this point
Copy the full SHA 674f7e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 203014f - Browse repository at this point
Copy the full SHA 203014fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f33c3bd - Browse repository at this point
Copy the full SHA f33c3bdView commit details
Commits on Jul 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e99ecc9 - Browse repository at this point
Copy the full SHA e99ecc9View commit details
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49f9f92 - Browse repository at this point
Copy the full SHA 49f9f92View commit details -
now requires no assertion to be violated when the rounding mode is modified for the thread, which should always be the case as long as local context is used (which sets the rounding mode independently of the rounding mode of the actual, global decimal context of the thread
Configuration menu - View commit details
-
Copy full SHA for cb3ce39 - Browse repository at this point
Copy the full SHA cb3ce39View commit details
Commits on Aug 3, 2024
-
fixed comment, use new context instead of setting the thread context,…
… extend localcontext to additonal methods
Configuration menu - View commit details
-
Copy full SHA for 7b94907 - Browse repository at this point
Copy the full SHA 7b94907View commit details
Commits on Aug 5, 2024
-
added local context to method which also depends of correct rounding …
…mode, formerly set for the whole thread
Configuration menu - View commit details
-
Copy full SHA for 64a4e51 - Browse repository at this point
Copy the full SHA 64a4e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97a5085 - Browse repository at this point
Copy the full SHA 97a5085View commit details -
Configuration menu - View commit details
-
Copy full SHA for a77a2e8 - Browse repository at this point
Copy the full SHA a77a2e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36c605b - Browse repository at this point
Copy the full SHA 36c605bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1842b29 - Browse repository at this point
Copy the full SHA 1842b29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eb5da3 - Browse repository at this point
Copy the full SHA 4eb5da3View commit details
Commits on Aug 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4b11194 - Browse repository at this point
Copy the full SHA 4b11194View commit details -
Add some documentation on how to run our tests
Since "setup.py test" is no longer possible, we need to tell people.
Configuration menu - View commit details
-
Copy full SHA for d4ee4a6 - Browse repository at this point
Copy the full SHA d4ee4a6View commit details -
Add pytest to our container images
This fastens up CI jobs by not having to install it on every job.
Configuration menu - View commit details
-
Copy full SHA for 959f89d - Browse repository at this point
Copy the full SHA 959f89dView commit details