-
Notifications
You must be signed in to change notification settings - Fork 42
Running the Test Suite
This repository is connected to CI servers. Every pull request and commit triggers a run of the test suite. You don't need to do anything in this case.
While working on this package locally, you should run the tests periodically. To do so, follow these steps:
Select Build With: Run in the command palette (Ctrl+Shift+B).
(Note: Build system selection has changed significantly in recent versions of Sublime Text. This documentation refers to the latest version of Sublime Text.)
This will activate the build system specified in the Dart .sublime-project, intended for developers of the Dart plugin for Sublime Text. This build system is different to the one included in Support/Dart.build-system. The second one is meant for end-users of this plugin, that is, developers working on Dart code.
Using the command palette (Ctrl+Shift+P), select Build: Dart: Test (All).
- Activate the corresponding file in Sublime Text.
- Using the command palette, select Build: Dart: Test (This File Only).
In this case, you can run this task either from a test_*.py file or a Python file that has a corresponding test_*.py file under tests.
Key Binding | Function |
---|---|
Ctrl+.+. | Display common Dart-related commands |
F4/Shift+F4 | Navigate test errors |