spec_mirror
Version, currently 0.3.07 versions
github.com/wout/spec_mirror.cr
Develoment utility to run a mirroring spec whenever a source file is saved.
2 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
spec_mirror:
github: wout/spec_mirror.cr
version: ~> 0.3.0Then run:
shards installshard.yml
- Crystal
>=1.0.0- License
- MIT
- Author
- wout
Dependencies
Development Dependencies
- ameba~> 0.14.3github: crystal-ameba/amebadev
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.3.0- Tagged
- Dec 25, 2021
- Commit
6a9dbd4e7321- Crystal
>=1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/wout/spec_mirror.cr
Metadata
- Created
- Aug 17, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 7