Skip to content

Files

Latest commit

 

History

History

rspec-tools

rspec-tools: Tools automating RSPEC workflows

Install

Install Pipenv
# macos
$ brew install pipenv
Install rspec-tools
$ cd rspec-tools
$ pipenv install -e .

Usage

See all commands
$ pipenv run rspec-tools --help

Development

Install dev dependencies
$ pipenv install --dev -e .
Run tests
$ pipenv run pytest
Fixtures

When writing a new test, create a fixture rule in tests/resources/{invalid_rules, rules}.

In order to generate an HTML file from the ASCIIdoc, you can use [asciidoctor](https://docs.asciidoctor.org/) as follows:

$ asciidoctor rule.adoc