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
Add option to filter tests with warnings #579
base: develop
Are you sure you want to change the base?
Conversation
This could cause a DoS. num_warnings isn't indexed at the moment, and indexing it could take a very long time on an existing DB... |
I see. Any suggestions how we can implement this feature otherwise? |
@maormarcus assuming we restrict it to session view (i.e. trying to filter all tests with it yields a syntax error) - it should be fine |
fadee42
to
297498a
Compare
@vmalloc i tried to fix this, can you take a look? |
297498a
to
7b7dc82
Compare
@vmalloc can you please take a look again? i spitted the args.search to tokens so now test_has_warnings etc should be ok. |
@maormarcus need to rebase this on top of latest develop... |
7b7dc82
to
a23d1b2
Compare
@vmalloc done, thanks! |
@@ -33,6 +33,10 @@ | |||
<td><code>starred</code></td> | |||
<td>Find tests which the current user marked as starred</td> | |||
</tr> | |||
<tr> | |||
<td><code>has_warnings</code></td> | |||
<td>Find tests that has warnings</td> |
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.
Find tests that have warnings
This is still not 100% correct, but I'm guessing is good enough (search tokinzation is not based on whitespaces) |
No description provided.