Test Focus Highlighter (link)An extension that visually highlights focused tests in spec files. Why? Focused tests can be great during local development because they allow us to execute only a single spec or a spec suite. Jasmine has However, this should come with a big warning! Commiting and pushing focused tests upstream means that only a subset of your tests will run. This can mislead you into thinking that your test suites are executing successfully when in reality it's only a small portion of them. There are many ways to guard against this problem. Some are manual like relying on self discipline and pull request reviews, while other take advantage of automatization and tooling like setting up git precommit hooks, lint rules, continuous integration pipeline checks, etc. The purpose of this extension is to help you identify focused tests very early in the development process by making them visually stand out. The extension will not prevent you from commiting focused tests. It only aims to increase your chances of catching focused tests before committing them. Features
DemoSupport my workIf you find this extension useful and would like to support my work, you can buy me a cup of tea. Thank you! CreditIcons made by Freepik from www.flaticon.com |