Jump between code and tests when reviewing code in Github.When reviewing code in github, it's sometimes hard to match unit tests with the code that they are testing.
To help that process, this extension links those two together. It matches these files by name, and adds simple links that allow you to jump back and forth between them.
This way you can see more easily if the tests are doing what they should and if the code is well tested.
The name matching works based on pairs of regular expressions:
- The first expression matches the "code" files. That is, the files being tested. Capture groups in this expression will be used in the second one.
- The second expression tries to find matching test files. It uses the captured matches from the first one to find test files with a name that corresponds to the "code" file.
These pairs of expressions can be managed in the options window.
The regular expressions use the javascript syntax. Most notably, the capture groups are referenced by $1, $2, etc.
The extension comes pre-configured with a simple example expression matching C# files.
Feel free to use it, either as inspiration or for actual work.
Please let me know if you have any comments or suggestions.
Enjoy!
Why Download Github TestLens?
- ✅ Trusted by 1+ users worldwide
- ✅ High Rating: /5 stars from reviews
- ✅ Latest Version: 0.5.2 - Always up to date
- ✅ Safe & Secure: Verified by Chrome Web Store
- ✅ Free to Use: No cost required
Extension Details
Type: Extension
Category: Chrome Browser Extension
Compatibility: Google Chrome Browser
Last Updated: March 7, 2021
Developer: Chrome Web Store Verified
Discover Github TestLens - The Best Chrome Extension for Your Browser
Looking for the perfect Chrome extension to enhance your browsing experience? Github TestLens is one of the most popular and highly-rated extensions available on the Chrome Web Store, trusted by over 1 users worldwide.
With an impressive -star rating based on authentic user reviews, Github TestLens has proven its value and reliability to the Chrome community. This extension is perfect for users who want to improve their productivity, enhance their browsing security, or simply add useful functionality to their Chrome browser.
Download Github TestLens today and join thousands of satisfied users who have already discovered the benefits of this powerful Chrome extension. Installation is quick and easy - simply click the download button above to be redirected to the official Chrome Web Store where you can safely install this extension in just a few clicks.