loading...

re: Python TDD with Pytest -- Getting Started VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I receive an error which begins like this(I've called my python file "main.py" instead of "hello.py"): ERRORS ====================================...
 

Hey @aderchox . If the test is in a different file, still just running pytest while in the project directory should discover the test files, as long as they're named in the format test_*.py.
You can read more about test discovery here.

code of conduct - report abuse