allure_report 1.4.0
allure_report: ^1.4.0 copied to clipboard
Allure Report Adapter. Use it with [test_reporter](https://pub.dev/packages/test_reporter) package
Test Reporter - Usage example #
Example with Allure Report Adapter #
- Add
allure_reportandtest_reporterto your dependencies.
dev_dependencies:
# reporter
allure_report: ^1.0.0
test_reporter: ^1.0.0
- Create
reporter.dartintestdirectory. If no file created, Basic Console Reporter will be used.
import 'package:allure_report/allure_report.dart';
import 'package:test_reporter/test_reporter.dart';
TestReporter create() {
return AllureReporter();
}
- Run test_reporter command with your tests
dart run test_reporter -- dart test
dart run test_reporter -- flutter test
Output #
Allure results are placed in allure-results folder in project root folder.
Proceed to Allure / How to view a report