Scribal
¶ ↑
Scribal
is a Description Language specification and execution engine. The Description Language can be considered a TDL (Test Description Language) or BDL (Business Description Language). These the terms to indicate a language where elaborated requirements and tests become largely the same artifact.
Scribal
uses Gherkin to process test specifications similar to solutions like Cucumber and Spinach. Scribal
is a direct clone of Turnip.
Installation¶ ↑
Add this line to your application’s Gemfile:
gem 'scribal'
And then execute:
$ bundle
Or install it yourself as:
$ gem install scribal
Usage¶ ↑
Scribal
uses RSpec as a test runner which means you execute Scribal
tests by creating a spec
directory that contains test specification files.
To allow RSpec to utilize the Scribal
execution mechanism, you can create an .rspec
file in your project directory and add the following line:
-r scribal/rspec
Contributing¶ ↑
To work on Scribal:
-
Create a feature branch. (
git checkout -b my-new-feature
) -
Commit your changes. (
git commit -am 'new feature'
) -
Push the branch. (
git push origin my-new-feature
) -
Create a new pull request.