You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
show check_estimator progress (verbose flag?) #13748
Since check_estimator can take quite long, it would be great to see roughly where it currently is, i.e., which checks were already passed and how many are left.
Maybe also the order of the tests could be further refined... after all the regression tests ran through (which took almost half an hour) it stopped because of a very simple error in the transformer tests (no error raised when X has a different number of features). It would be great if these kinds of fast checks would be moved to the beginning, while the tests on actual datasets come later... Or, yeah, if this is integrated into some real testing framework, maybe all tests can run through at once and the errors are reported collectively...
after all the regression tests ran through (which took almost half an hour) it stopped because of a very simple error in the transformer tests (no error raised when X has a different number of features).
FYI, when developing it would be preferable to execute a portion of the tests related to the feature or bug fix written. Once this is done, a portion of the common tests can also be executed (using the -k flag of pytest). And at last, you might want to tests everything but I would let the online CIs do this part since it will be double usage (and there is several OS and dependencies version there).
So IMO, using pytest with an additional package such as pytest-sugar would be more manageable than us managing some internal progress bar.
Yes, I also think that it's pytest job to handle progress bars/reports while running tests. Our only task is making sure we provide all the necessary information to pytest (e.g. by allowing to run individual tests that are part of check_estimator). and that is discussed in #11622.
I would be +1 to close this issue in favor of #11622
Activity
jnothman commentedon Apr 29, 2019
cod3licious commentedon Apr 29, 2019
Maybe also the order of the tests could be further refined... after all the regression tests ran through (which took almost half an hour) it stopped because of a very simple error in the transformer tests (no error raised when X has a different number of features). It would be great if these kinds of fast checks would be moved to the beginning, while the tests on actual datasets come later... Or, yeah, if this is integrated into some real testing framework, maybe all tests can run through at once and the errors are reported collectively...
jnothman commentedon Apr 29, 2019
rth commentedon Apr 30, 2019
Also related #11622
scouvreur commentedon May 7, 2019
Hi there - if no one is working on this could I take this issue ?
jnothman commentedon May 8, 2019
glemaitre commentedon May 9, 2019
FYI, when developing it would be preferable to execute a portion of the tests related to the feature or bug fix written. Once this is done, a portion of the common tests can also be executed (using the
-kflag of pytest). And at last, you might want to tests everything but I would let the online CIs do this part since it will be double usage (and there is several OS and dependencies version there).So IMO, using pytest with an additional package such as pytest-sugar would be more manageable than us managing some internal progress bar.
rth commentedon May 9, 2019
Yes, I also think that it's pytest job to handle progress bars/reports while running tests. Our only task is making sure we provide all the necessary information to pytest (e.g. by allowing to run individual tests that are part of
check_estimator). and that is discussed in #11622.I would be +1 to close this issue in favor of #11622