This repo is an example of how to setup a Selenium based testing harness for Jekyll.
You will need to have Ruby and Git installed. We are fans of rvm for managing Ruby installs and Homebrew for installing Git on the Mac.
Once you have those dependencies installed:
- Clone the repo:
git clone https://github.com/eSpark/tested-jekyll.git
- Go into the repo:
cd tested-jekyll
- Install Ruby dependencies:
bundle install
Then you can run the tests using:
bundle exec rspec
You should see the following output.
$ bundle exec rspec
Configuration file: /Users/dean/github/espark/tested-jekyll/_config.yml
Generating site: /Users/dean/github/espark/tested-jekyll -> /Users/dean/github/espark/tested-jekyll/_site
.
Finished in 3.23 seconds (files took 1.19 seconds to load)
1 example, 0 failures
$
If you don't, feel free to open an issue on this repo and we'll take a look!