forked from ycccccccy/echotrace
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwidget_test.dart
More file actions
20 lines (16 loc) · 745 Bytes
/
widget_test.dart
File metadata and controls
20 lines (16 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter_test/flutter_test.dart';
import 'package:echotrace/main.dart';
void main() {
testWidgets('EchoTrace app smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const EchoTraceApp());
// Verify that the app starts with EchoTrace text.
expect(find.text('EchoTrace'), findsWidgets);
});
}