Skip to content

Running the Test Suite

guillermooo edited this page Mar 1, 2015 · 6 revisions

Continuous Integration

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.

Running the Tests Locally

While working on this package locally, you should run the tests periodically. To do so, follow these steps:

Activating the Development Build System

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.

Running All Tests

Using the command palette (Ctrl+Shift+P), select Build: Dart: Test (All).

Running the Tests in the Current File

  • 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.

Related Key Bindings

Key Binding Function
Ctrl+.+. Display common Dart-related commands
F4/Shift+F4 Navigate test errors