danger_plugin_golden_reporter 2.0.0 danger_plugin_golden_reporter: ^2.0.0 copied to clipboard
A Danger Dart plugin to display golden images on pull requests.
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:
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');
}