question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exclude Tests from search

See original GitHub issue

When searching for class consts or strings, function calls etc, I find it frustrating to have all the Magento tests show up as normally I am trying to figure out how “the core” does it.

Would it be possible to add something like a tickbox on the search screen to exclude anything with Test in the name or exclude the MFTF files?

Any thoughts?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
doninAtwixcommented, Jan 14, 2022

One of the solutions. Open a search window, check the “File mask” and paste pattern: !*test* For example: Screenshot 2022-01-14 at 13 35 37

Thank you.

1reaction
doninAtwixcommented, Jan 13, 2022

@magento I am working on this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intellij : Find usages , but exclude test files from results
In the Find usages result panel, you can group by test/production. There is a button for that. ... By putting !*Test.java into the...
Read more >
Exclude test files for 'find usages...' and other inspection
Hi, Would it be possible to avoid inspection for usage in test files? What I can setup already is that scope for a...
Read more >
How to exclude Test files From Searches in VS Code?
1 Answer 1 ... Search in VS Code doesn't utilize regex in excluding files (see open issue). It is configured with glob patterns....
Read more >
In IntellIJ IDEA how can I exclude a few files from find in path?
you can also exclude !Test.java as well. https://stackoverflow.com/questions/55069822/in-intellij-idea-how- ...
Read more >
nose-exclude - PyPI
nose-exclude is a Nose plugin that allows you to easily specify directories to be excluded from testing. Exclude Directories. The --exclude-dir= option is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found