Sha256: 22bcee6619c5d8b683936aaac90f9e4513707edb15134a39e464eeaf1bf85f13
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
--- sort: 3 --- # Tests The primary way to run these checks is `rake`: | rake command | function | |-----------------------------|---------------------------------| | `rake unit` | Unit tests only | | `rake integration` | Integration tests only | | `rake test` | Both unit and integration tests | | `rake rubocop` | Check code formatting | | `rake rubocop:auto_correct` | Fix rubocop issues, if possible | | `rake` | Run all checks | * Ignore the mini_magick `method redefined` warnings (unless you know how to fix them?) * Depending on your environment, you may need to prefix all rake commands with `bundle exec` * Simplecov is set up -- you'll get a measurement of coverage in the test output and a nice report in the `coverage` directory. * The tests use the `/tmp/` directory directly, which I'm pretty sure means it won't work on Windows. This is fixable, so if that gets in your way just ask. ### Docker The tests use some features of ImageMagick 7 which are not supported by version 6. If it's inconvenient to install version 7, the following commands will build and run the tests in a docker container: ```bash $ docker build . -t jpt $ docker run -t jpt ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll_picture_tag-1.14.0 | docs/devs/contributing/testing.md |