Sha256: 2780b36d2e36f77e3c958aef8eeea98ec9040ce6efe1c58a20790ed9fd1af6da

Contents?: true

Size: 1.05 KB

Versions: 9

Compression:

Stored size: 1.05 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.

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jekyll_picture_tag-2.1.2 docs/devs/contributing/testing.md
jekyll_picture_tag-2.1.1 docs/devs/contributing/testing.md
jekyll_picture_tag-2.1.0 docs/devs/contributing/testing.md
jekyll_picture_tag-2.0.4 docs/devs/contributing/testing.md
jekyll_picture_tag-2.0.3 docs/devs/contributing/testing.md
jekyll_picture_tag-2.0.2 docs/devs/contributing/testing.md
jekyll_picture_tag-2.0.1 docs/devs/contributing/testing.md
jekyll_picture_tag-2.0.0 docs/devs/contributing/testing.md
jekyll_picture_tag-2.0.0pre1 docs/devs/contributing/testing.md