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

Multiple run.py support #9

Open
halfow opened this issue Apr 11, 2020 · 4 comments
Open

Multiple run.py support #9

halfow opened this issue Apr 11, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@halfow
Copy link

halfow commented Apr 11, 2020

Hi again! :)

I was working with a project with a few submodules with their own run.py and noticed that this plugin only handles a single one.

Would it be possible to allow wildcard (* and **) patterns in run.py path option and support for multiple run.py.

I realize that full regression of the project might not be wanted within this scope.

But not having acces to Test Explorer: run the rest at current cursor position & Test Explorer: run tests in current file steping in to a submodules was quite anoying.

@halfow halfow changed the title Multiple run.py support lable:enhancement Multiple run.py support lable:enhancement Apr 11, 2020
@Bochlin
Copy link
Owner

Bochlin commented Apr 12, 2020

It's on the roadmap. The idea is if multiple run.py files are found that they are placed at the first level of hierarchy e.g.:

  • test1/run.py
    • tb_1
    • tb_2
    • ...
  • test2/run.py
    • tb_1
    • tb_2
    • ...

Right now I'm working getting some proper tests in place, bu I think that this would be the next step.

@Bochlin Bochlin changed the title Multiple run.py support lable:enhancement Multiple run.py support Apr 12, 2020
@Bochlin Bochlin added the enhancement New feature or request label Apr 12, 2020
@halfow
Copy link
Author

halfow commented Apr 12, 2020

It's on the roadmap. The idea is if multiple run.py files are found that they are placed at the first level of hierarchy e.g.:

test1/run.py

tb_1
tb_2
...

test2/run.py

tb_1
tb_2
...

Right now I'm working getting some proper tests in place, bu I think that this would be the next step.

Awsome!

Can you elaborate on "proper tests" can be a loot of diffrent things, I might be able to help with something :)

@GlenNicholls
Copy link

+1 to this issue!

@holzi-x
Copy link

holzi-x commented Dec 13, 2022

Hi, I am struggling with the same issue. Any plans / workarounds yet?

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

No branches or pull requests

4 participants