eccaec8f3b
- works with latest SDK - understand and works with pub and pubspecs - tested on Linux, Mac and Windows - has its own tests There is still as issue on Windows, where using Process.start to run a .bat file is not terminating until the timeout kills the cmd.exe process. My suspicion is that this is am issue with Process, not testrunner. I have contacted whesse et al about this. Review URL: https://codereview.chromium.org//14247033 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21969 260f80e4-7a28-3924-810f-c04153c831b5
25 lines
507 B
Dart
Executable File
25 lines
507 B
Dart
Executable File
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
library testrunner_test;
|
|
|
|
import 'package:unittest/unittest.dart';
|
|
|
|
foo(bool x) => x;
|
|
|
|
main() {
|
|
group('group1', () {
|
|
test('test1', () {
|
|
expect(true, isFalse);
|
|
});
|
|
});
|
|
group('group2', () {
|
|
test('test2', () {
|
|
foo(3);
|
|
expect(true, isTrue);
|
|
});
|
|
});
|
|
}
|
|
|