spec_mirror.cr
spec_mirror
A small test helper which will run the mirroring spec whenever a source file is saved. It requires a file watcher like Guardian.cr for example.
Installation
Add the development dependency to your shard.yml
:
development_dependencies:
spec_mirror:
github: wout/spec_mirror.cr
Run shards install
Usage
If you are using Guardian.cr, add the following lines to the guardian.yml config file:
files: ./src/**/*.cr
run: bin/spec_mirror %file%
Then start guardian
and watch your specs run whenever you save a file in your src
dir.
Contributing
- Fork it (https://github.com/wout/spec_mirror/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- wout - creator and maintainer
Repository
spec_mirror.cr
Owner
Statistic
- 2
- 0
- 0
- 15
- 1
- almost 3 years ago
- March 25, 2020
License
MIT License
Links
Synced at
Wed, 06 Nov 2024 21:36:40 GMT
Languages