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

Would be possible to log/print out files not skipped? #281

Open
sfrique opened this issue Jan 3, 2025 · 3 comments
Open

Would be possible to log/print out files not skipped? #281

sfrique opened this issue Jan 3, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@sfrique
Copy link

sfrique commented Jan 3, 2025

Is your feature request related to a problem? Please describe.
No

Describe the goal of the feature

If possible we would like to run locally a command something like:
bundle exec ddcirb skipped-tests --show-files
and it would print out the files that have been skipped and if possible a option to the other way around, show all files that would run.

Would that be possible?

Describe alternatives you've considered
First time looking into this, didn't considered many alternatives yet, just seems interesting.

Additional context
We have a custom runner and external queue manager, so this would be helpful.
Not sure if this is something this project aim to do, but would help us a lot.

How does datadog-ci help you?

@anmarchenko
Copy link
Member

Hi! Sorry, for taking so long to answer and thanks for contacting us!

This wouldn't be an easy thing to do because we don't keep an index of tests per source code file. We have reverse relationship though, we know source code file for every test case, so it wouldn't be impossible.

Unfortunately, I cannot tell when it could be done, feel free to take a stab on it, I would happy to support contributions!
Do you use rspec as your test framework btw?

@sfrique
Copy link
Author

sfrique commented Jan 21, 2025

Hey, no problem

Having the source code file for each test that affected would be perfect as well.

Unfortunately, I have no idea where to start, ruby is not my strongest and don't have the time right now.

Yes, we do use rspec.

Thank you for answering!

@anmarchenko
Copy link
Member

Thanks, @sfrique! I will add this as a feature request to our internal board, let's see how it goes

@anmarchenko anmarchenko added the enhancement New feature or request label Jan 21, 2025
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

2 participants