flutter_run_test.dart 540 Bytes
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1
// Copyright 2014 The Flutter Authors. All rights reserved.
2 3 4
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6
import 'dart:io';

7 8 9 10 11
import 'package:flutter_test/flutter_test.dart';

void main() {
  group('example', () {
    test('passed', () {
12 13
      print('This is print');
      stderr.writeln('This is writeln');
14 15 16 17 18 19 20 21 22 23
      expect(true, true);
    });
    test('failed', () {
      expect(true, false);
    });
    test('skipped', () {
      expect(true, false);
    }, skip: true);
  });
}