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

Using Suppressor to silence tests #957

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

epolack
Copy link
Collaborator

@epolack epolack commented Feb 8, 2024

I find it always bothering to have to scroll to look where tests fail. This is a simple change that will only output failing tests.
It's a quick alternative to more fine-grained outputs (#56).

(I have checked locally that the full backtrace is indeed printed in different failing test cases.)
Lots of edge cases, and it feels too hacky. Not sure if there's a way for a simpler alternative…

Let's see if passed tests are printed at the end. (see https://github.com/JuliaMolSim/DFTK.jl/actions/runs/7832171350/job/21370246591?pr=851 for example. Strangely error is not printed, but was not printed either in https://github.com/JuliaMolSim/DFTK.jl/actions/runs/7831316138/job/21367378204?pr=851)

Maybe actually better to take the time to use Logging, and rewrite println... Should not be that big à work and much more flexible and clean.

@epolack epolack mentioned this pull request Feb 8, 2024
12 tasks
@epolack epolack force-pushed the suppressor branch 19 times, most recently from 0d0c877 to e12a506 Compare February 9, 2024 16:57
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

Successfully merging this pull request may close these issues.

1 participant