Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(widget): add widget tests to improve coverage #107

Merged
merged 17 commits into from
Jan 24, 2025
Merged
Prev Previous commit
Next Next commit
Add utils
  • Loading branch information
tsutsu3 committed Jan 21, 2025
commit 2c0f02bf4c125edd40b1ee0e22f024011d34c7f2
9 changes: 9 additions & 0 deletions test/widgets/utils.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void showText() {
final texts = find.byType(Text);
for (final text in texts.evaluate()) {
print(text.widget.toString());
}
}