Running all tests of mono repo #9504
-
We have one repo nesting several projects, something like this - . ├── project1 │ ├── src/ │ └── tests/ │ ├── __init__.py │ ├── ... ├── project2 │ ├── src/ │ └── tests/ │ ├── __init__.py │ ├── ... ├── ... Now we run tests for each project separately from its directory and if I try to |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @Ohad31415, There's nothing builtin in pytest, I'm afraid. |
Beta Was this translation helpful? Give feedback.
-
Does it help at all if the repo structure is:
That is |
Beta Was this translation helpful? Give feedback.
-
I'm trying to wrap my head about this, and I think it comes down to:
Pytest tries to import |
Beta Was this translation helpful? Give feedback.
Hi @Ohad31415,
There's nothing builtin in pytest, I'm afraid.