Closed lsaudon closed 11 months ago
You may achieve the same with plain old main
function too:
import 'package:integration_test/integration_test.dart';
import '../test/sample_test.dart' as counter;
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
counter.main();
}
By the way, you may generate integration tests from bdd_widget_test
directly.
Put tests in a function so they can be called from
integration_test
Before
After
And in integration_test :