Skip to content
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

All postional args for nox tests #458

Closed
BradyPlanden opened this issue Aug 13, 2024 · 0 comments · Fixed by #519
Closed

All postional args for nox tests #458

BradyPlanden opened this issue Aug 13, 2024 · 0 comments · Fixed by #519
Assignees
Labels
enhancement New feature or request

Comments

@BradyPlanden
Copy link
Member

Feature description

Add positional arguments for nox sessions to selectively choose individual or grouped tests to run.

Motivation

To run individual tests, developers need to use pytest directly via: pytest --unit tests/unit/test_costs.py; however, this does not manage the virtualenv or dependency state. As nox does this inherently, offering a solution that shinks the whole test suite to a user selection would be more robust.

Possible implementation

See PyBaMM's recent implementation: https://github.com/pybamm-team/PyBaMM/pull/4334/files

Additional context

No response

@BradyPlanden BradyPlanden added the enhancement New feature or request label Aug 13, 2024
@BradyPlanden BradyPlanden self-assigned this Sep 27, 2024
@BradyPlanden BradyPlanden linked a pull request Sep 27, 2024 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant