https://github.com/jekyll/jekyll-test
Testing helpers for Jekyll.
https://github.com/jekyll/jekyll-test
Last synced: 3 months ago
JSON representation
Testing helpers for Jekyll.
- Host: GitHub
- URL: https://github.com/jekyll/jekyll-test
- Owner: jekyll
- License: mit
- Archived: true
- Created: 2014-01-04T20:34:16.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T21:14:00.000Z (over 9 years ago)
- Last Synced: 2024-05-23T02:03:25.443Z (over 1 year ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 6
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Jekyll::Test
TODO: Write a gem description
## Installation
Add this line to your application's Gemfile:
gem 'jekyll-test'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jekyll-test
## Usage
```ruby
require 'jekyll-test'
# ... later, in your tests
test_site = JekyllTest.new(source, destination)
conf = test_site.configuration([overrides])
test_site.run_jekyll_build
test_site.get_post(id)
# ... etc
```
## Contributing
1. Fork it ( `http://github.com//jekyll-test/fork` )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request