-
Notifications
You must be signed in to change notification settings - Fork 3
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
Document how to invoke pytest #1
Comments
Good point. I copied the structure from several other Python projects, but it can probably be streamlined better I will see how I can improve it! Tips are always welcome. Second point: The readthedocs pages still lack a good description how to install the project locally on your computer such that the module tests, coverage, demos, and code run best. |
I think the big question is if this repository will include other components than the core. If not, an easy fix would be to flatten the directory to Best practice is to even don't include a
You could even consider dropping de I could create a PR with these changes, if you want. |
I created a PR with a possible refactor and CI implementation which follows best practices and works easily with CI: #2 |
This repository has a unusual structure with the extra layer directories of pydsol/core for both the src and tests folder. This makes running pytest non-trivial.
The docs state that can be pytest used:
pydsol-core/src/pydsol/core/__init__.py
Line 48 in 972b4ee
But with all "standard" invokements of Pytest I get either an import error or a warning that no tests are found.
With this directory structure, which command needs to be ran from which folder for pytest to work?
The text was updated successfully, but these errors were encountered: