spec_mirror
Version, currently 0.1.27 versions
github.com/wout/spec_mirror.cr
Develoment utility to run a mirroring spec whenever a source file is saved.
Nothing has been indexed for 0.1.2 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
spec_mirror:
github: wout/spec_mirror.cr
version: ~> 0.1.2Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.2. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
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.1.2- Tagged
- Dec 25, 2021
- Commit
00f28c12eafe- Indexed
- not yet
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