-
Notifications
You must be signed in to change notification settings - Fork 22
refactor(tests): hatch-ify and correct imports in tests #294
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?
Conversation
Changed Files
|
|
|
This is a nice improvement, for sure, but it's loosing one thing I like: Yikes! I thought editable pip installs put your project's main source directory into the Pythonpath, not every directory in your source tree. I guess it's every directory in your source with a That means if we have interralated projects each with its own tests in Now, none of this is related to the changes you're proposing, but it makes me think that maybe BTW, in EveryVoice we explicitly exclude the tests from our wheels and sdists with this bit of configuration: (and similar for Something else: I'll want to add this warning filter to There's something I don't understand:
I don't understand why I get this error. If actually installing hatch is required, I would add Anyway, lots of notes here, but the output of |
Thanks! You can just run Happy holidays and new year! |
PR Goal?
Standardize the directory laout of tests
Fixes?
Fixes: #281
Feedback sought?
Is this easy enough to understand and does it work for you? Should we go all the way and use pytest markers to distinguish the test suites, at which point we can also use
pytest-covto run the testsPriority?
Happy holidays!
Tests added?
Rien ne se perd, rien ne se crée, tout se transforme!
How to test?
hatch test
python run_tests.py
Confidence?
Might want to look it over a bit. Definitely verify the checklist in #281.
Version change?
Nope, just affects tests.