allure_flutter_test 1.1.0 copy "allure_flutter_test: ^1.1.0" to clipboard
allure_flutter_test: ^1.1.0 copied to clipboard

Allure Report adapter for flutter_test and host-run integration_test.

example/main.dart

// Import Allure's drop-in flutter_test API instead of package:flutter_test/flutter_test.dart.
import 'package:allure_flutter_test/flutter_test.dart';
import 'package:flutter/widgets.dart';

void main() {
  testWidgets('renders sample text', (tester) async {
    await step('render sample widget', (_) async {
      await tester.pumpWidget(
        const Text('Allure Flutter example', textDirection: TextDirection.ltr),
      );

      expect(find.text('Allure Flutter example'), findsOneWidget);
    });
  });
}
0
likes
160
points
168
downloads

Documentation

API reference

Publisher

verified publisherallurereport.org

Weekly Downloads

Allure Report adapter for flutter_test and host-run integration_test.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

allure_dart_commons, allure_dart_test, flutter, flutter_test, integration_test

More

Packages that depend on allure_flutter_test