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

Improve location of test files for test command #200

Open
hvanz opened this issue Nov 25, 2022 · 0 comments
Open

Improve location of test files for test command #200

hvanz opened this issue Nov 25, 2022 · 0 comments
Assignees

Comments

@hvanz
Copy link
Member

hvanz commented Nov 25, 2022

From #199 (comment) :

We always create a single test_* file in tests directory for each test trace ... call. So for a directory passed as a trace, it will create a tests/example_<TS>/test_example.py - a directory containing a single test.

Why not:

  • put single test_*.py files always in tests/ directory?
  • Or, we replace tests/example_<TS>/test_example.py with tests/example/test_example_<TS>.py. But then we should do the same for individual traces?

I [Rano] like (1) if we don't care about tests/test_*py. I like (2) because it organizes the tests directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants