You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testlatte is a Visual Studio Code extension designed to assist in running and debugging Testcafe tests. It scans your folder for tests and displays them in the side panel of VSCode.
Shows a list of installed browsers and allows you to select one or more browsers to run your tests.
Shows a list of tests grouped by fixture.
Navigate to your test or fixture clicking on the test/fixture name.
Debug or Run your test or fixture clicking on the debug icon or on the run icon.
Debug or Run all tests clicking on the debug all icon or on the run all icon.
Requirements
It's recommended you install TestCafé on your project as a local package.
TestLatte will look for TestCafé in the default location [testWorkspaceFolder]/node_modules/testcafe/bin folder, where testWorkspaceFolder is the workspace folder of the corresponding test.
If TestCafé is not installed at the default location, it is possible to configure TestCafé's module path in TestLatte configuration settings.
Extension Settings
This extension contributes the following settings:
testlatte.filePath: Directory from which to search and run the tests. Default value is test/
testlatte.customArguments: Custom arguments to TestCafé command line.
testlatte.testcafePath: Path to the TestCafe module used to execute the tests. If it is not configured it will use the path [testWorkspaceFolder]/node_modules/testcafe/bin/testcafe.js, where testWorkspaceFolder is the workspace folder of the corresponding test.
Support TestLatte
TestLatte is free to use, but if you liked our work and want to support the project, you can make a donation clicking on the button below:
About
TestLatte allows you to Debug or Run your TestCafé tests on visual studio code.