danger_plugin_golden_reporter 0.0.1 danger_plugin_golden_reporter: ^0.0.1 copied to clipboard
A starting point for Dart libraries or applications.
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.
// @dart=2.10
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');
}