Logo: Relish

  1. Sign in

Project: Cql 1.4.1

Repository

All queries are performed against a repository object. A repository is simply a collection of models that represent a Cucumber test suite. Commonly, a repository is created based on a file path that is the location of such a test suite. However, repositories can also be created using any model as their starting point.

Scenarios
Using a file path to create a repository
Given
a directory "path/to/test_directory"
Then
the following code executes without error:
CQL::Repository.new("path/to/test_directory")
Using a model to create a repository

Note: Non-directory models can also be used

Given
a directory "path/to/test_directory"
Then
the following code executes without error:
directory_model = CukeModeler::Directory.new("path/to/test_directory")

CQL::Repository.new(directory_model)

Last published almost 3 years ago by Eric Kessler.