Custom commands are a convenient way of extending the browser object with new functionalities to improve test stability, to enhance test maintenance, and to reduce code duplication.
Continue readingCategory: Testing
Debug Mocha Unit Test in Visual Studio Code
Mocha is a testing library, created to be simple, extensible, and fast. The following write-up gives a short introduction on how to setup Mocha and how to easily run all unit tests or only a single one in Visual Studio Code.
Continue readingRun NPM scripts in Visual Studio Code with a Single Click
Recently, I wondered if there is a possibility not having to remember the NPM script names in my package.json and to start them faster without having to open a terminal and typing npm run <script-name> every time. It turns out there is a solution!
Continue reading