testing - dart pub test... can you exclude files / directories? -
dart/pub v1.10
i have test/e2e folder has webdriver.dart tests. 'pub run test' trying run dart files in e2e.
pubspec.yaml dev_dependencies: test: '>=0.12.1 <0.13.0'
i've been running webdriver.dart test
dart test/e2e/some_test.dart
was hoping pub/test implemented transformer... just exclude in pubspec.yaml. no joy. can build transformer test?
ideas? (besides moving directory out under test :-))
update looks options are:
- pub run test test/unit (specify directory)
- move e2e folder out of 'test'
you can filter tests using --name=xxx
(where xxx can regular expression) or --plain-name=xxx
(just substring comparsion) parameters filter tests. there open issue add tags don't know if planned.
i don't know expect transformer do. if use includes/excludes transformer configuration specifies files processed transformer not files executed.
Comments
Post a Comment