-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: set up non-integration testing (#9)
* test: set up non-integration testing * pass github token * allow commenting on pull request
- Loading branch information
1 parent
62f9975
commit 2ac94e9
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ migrate_working_dir/ | |
.pub-cache/ | ||
.pub/ | ||
/build/ | ||
/coverage/ | ||
|
||
# Symbolication related | ||
app.*.symbols | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import 'package:flutter_test/flutter_test.dart'; | ||
|
||
import 'package:mbta_app/main.dart'; | ||
|
||
void main() { | ||
testWidgets("Home should say \"Hello World!\"", (tester) async { | ||
await tester.pumpWidget(const MainApp()); | ||
|
||
expect(find.text("Hello World!"), findsOneWidget); | ||
}); | ||
} |