From 517eb8a00085e812e13b6b6cacadaf4150f9737f Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Sat, 26 Apr 2025 17:02:28 +0200 Subject: [PATCH] Implemented first basic test --- pubspec.yaml | 1 + test/main_test.dart | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 test/main_test.dart diff --git a/pubspec.yaml b/pubspec.yaml index c0582e8..71f3f5f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -20,6 +20,7 @@ dev_dependencies: sdk: flutter flutter_lints: ^4.0.0 + test: ^1.25.15 flutter: diff --git a/test/main_test.dart b/test/main_test.dart new file mode 100644 index 0000000..77a09b1 --- /dev/null +++ b/test/main_test.dart @@ -0,0 +1,7 @@ +import 'package:flutter_test/flutter_test.dart'; + +void main() { + test('Counter value should be incremented', () { + expect(1, 1); + }); +}