-
Notifications
You must be signed in to change notification settings - Fork 8
Add test running instructions to README #107
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -62,7 +62,13 @@ To modify the code and test it locally, you'll need to install it as a pip packa | |||||||||||
| ukbot --page Bruker:Danmichaelo/Sandkasse5 --simulate config/config.no-mk.yml | ||||||||||||
|
|
||||||||||||
|
|
||||||||||||
| ## Howto run tests | ||||||||||||
|
|
||||||||||||
| python3 -m venv venv | ||||||||||||
| source venv/bin/activate | ||||||||||||
|
Comment on lines
+67
to
+68
|
||||||||||||
| python3 -m venv venv | |
| source venv/bin/activate | |
| python3 -m venv www/python/venv | |
| . www/python/venv/bin/activate |
Copilot
AI
Apr 9, 2026
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.
CI config (.travis.yml) currently runs tests via "pytest -v", but README instructs using "python3 -m unittest discover". Since this repository's tests are compatible with both, consider aligning the README with the CI command (or mention both options) to reduce confusion when reproducing CI locally.
| pip install . | |
| pip install . | |
| pytest -v | |
| If you prefer the standard library test runner, the test suite is also compatible with: |
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.
Heading "Howto run tests" is grammatically incorrect/inconsistent with other sections (e.g., "Getting Started"). Consider renaming to "How to run tests" for clarity and consistency.