inserter 0.0.1+1 inserter: ^0.0.1+1 copied to clipboard
Additional tooling for mason_cli to write to existing files.
Inserter #
Additional tooling for mason_cli (and other file insert/writing) to write to existing files.
Installation ๐ป #
โ In order to start using Inserter you must have the [Dart SDK][dart_install_link] installed on your machine.
Add inserter
to your pubspec.yaml
:
dependencies:
inserter:
Install it:
dart pub get
Running Tests ๐งช #
To run all unit tests:
dart pub global activate coverage 1.2.0
dart test --coverage=coverage
dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info
To view the generated coverage report you can use lcov.
# Generate Coverage Report
genhtml coverage/lcov.info -o coverage/
# Open Coverage Report
open coverage/index.html