-
Notifications
You must be signed in to change notification settings - Fork 45
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
Makes txt testing faster #178
Conversation
Codecov Report
@@ Coverage Diff @@
## master #178 +/- ##
=======================================
Coverage 94.15% 94.15%
=======================================
Files 7 7
Lines 565 565
=======================================
Hits 532 532
Misses 33 33 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 2 minutes faster is quite a thing! Do you know which of the tests is taking the longest to run?
I think that #162 could help with reducing testing time even more. What do you think @vinferrer ?
Hey @vinferrer! Thanks so much for getting this started—I'm really glad to hear that the testing time is down ~25%! My primary concern about this new implementation is that it might lead to difficulties detecting bugs in the codebase. That is, if there's an issue in any of the code that you've moved outside functions (e.g., if a file is accidentally moved or deleted from OSF, or there's an issue in the One potential solution (as I described in #172) would be to use |
Since I haven't done much codestuff for |
I see, let me code a bit tomorrow, I want a try do it by my self |
That we can treat in another PR, but sure reducing check_multifreq time would be great |
Talking about this, should we use the pytest.fixtures functions for dowloading or can we add also the common preproccessing before the asserts? |
Okay guys I refactored the code and now I am using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for making these edits, @vinferrer ! 💪
I have a few more thoughts / suggestions for the test suite overall, but I don't want to hold this PR up so I think we should merge this in !
@rmarkello, there is no rush in merging this in, if you want to make some suggestions! |
Closes #172
Shortens the txt.py testing
Proposed Changes
acq
file has only the trigger and other channel and the length of the channels is 1048560test_populate_phys_input
because the tested function has to read and this was giving problems if the file wasn't download inside the function