commit | 6385372903303e8ef2ff5f08383b0b633dd1e2d8 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Fri Nov 05 09:37:32 2021 -0700 |
committer | GitHub <noreply@github.com> | Fri Nov 05 09:37:32 2021 -0700 |
tree | 2d8e592d903358dac1b24a8e0fba25ac5d9db037 | |
parent | 71db634024ac6fcc64a4051f26d13b751a448c98 [diff] |
Only run the golden tests on the vm (#9)
A library for YAML manipulation while preserving comments.
A simple usage example:
import 'package:yaml_edit/yaml_edit.dart'; void main() { final yamlEditor = YamlEditor('{YAML: YAML}'); yamlEditor.assign(['YAML'], "YAML Ain't Markup Language"); print(yamlEditor); // Expected output: // {YAML: YAML Ain't Markup Language} }
Testing is done in two strategies: Unit testing (/test/editor_test.dart
) and Golden testing (/test/golden_test.dart
). More information on Golden testing and the input/output format can be found at /test/testdata/README.md
.
These tests are automatically run with pub run test
.