Skip to content

Instantly share code, notes, and snippets.

@yjbanov
Created May 24, 2017 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yjbanov/b9ff34fb4a2198ecc1d265c4a049eb8f to your computer and use it in GitHub Desktop.
Save yjbanov/b9ff34fb4a2198ecc1d265c4a049eb8f to your computer and use it in GitHub Desktop.
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_travis_sample/main.dart';
void main() {
testWidgets('app should work', (tester) async {
await tester.pumpWidget(new MyApp());
expect(find.text('Hello, World!'), findsOneWidget);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment