Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the tests #377

Closed
agriffis opened this issue Oct 15, 2016 · 4 comments
Closed

Running the tests #377

agriffis opened this issue Oct 15, 2016 · 4 comments
Assignees

Comments

@agriffis
Copy link

To get the tests running, I used this sequence. I didn't see anything like this in the README or docs so I'd like to know if this is the best formula or if I should be doing something else. If this looks good, I can provide a pull request to add it to the README

$ rake gemspec  # makes kramdown.gemspec
$ cat > Gemfile <<EOF
source 'https://rubygems.org'
gemspec
EOF
$ bundle  # installs the dev deps
$ rake  # runs the tests
@agriffis
Copy link
Author

Additionally required for the test suite to run through cleanly

$ sudo dnf install nodejs npm
$ npm install mathjax-node
$ PATH=$PATH:$PWD/node_modules/.bin

and to include the latex tests (though these won't make the suite fail if missing)

$ sudo dnf group install 'Authoring and Publishing'   # Fedora
$ sudo apt-get install texlive-full  # Debian/Ubuntu

@agriffis
Copy link
Author

Hmm, this would have been easier if I'd noticed .travis.yml effectively laying out the requirements.

@gettalong gettalong self-assigned this Oct 16, 2016
@gettalong
Copy link
Owner

Yes, the travis configuration file nicely shows what is needed. I will probably make a notice about this in the readme file.

@gettalong
Copy link
Owner

I have added some info to the README.md file - thanks for making me aware of this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants