fluffychat/test/widget_test.dart

16 lines
584 B
Dart
Raw Normal View History

2020-01-01 19:10:13 +01:00
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. 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.
2021-04-12 18:33:43 +02:00
import 'package:fluffychat/main.dart';
2020-01-01 19:10:13 +01:00
import 'package:flutter_test/flutter_test.dart';
void main() {
2020-01-02 22:31:39 +01:00
testWidgets('Test if the app starts', (WidgetTester tester) async {
2021-04-12 18:33:43 +02:00
await tester.pumpWidget(FluffyChatApp());
2020-01-01 19:10:13 +01:00
});
}