0 purchases
danger plugin golden reporter
Danger Plugin: Golden Reporter #
This plugin will report created and modified golden results.
Usage #
Adding this plugin to pubspec.yaml
dev_dependencies:
danger_core:
danger_plugin_golden_reporter:
copied to clipboard
In dangerfile.dart, you need to import this, and call DangerPluginGoldenReporter.report with given golden result path.
import 'dart:io';
import 'package:danger_core/danger_core.dart';
import 'package:danger_plugin_golden_reporter/danger_plugin_golden_reporter.dart';
void main() {
DangerPluginGoldenReporter.report('test/goldens');
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.