2011-01-16 23:34:45 +07:00
|
|
|
Feature: database cleaning
|
|
|
|
In order to ease example and feature writing
|
|
|
|
As a developer
|
|
|
|
I want to have my database in a clean state with default strategy
|
|
|
|
|
2018-05-18 19:16:03 -07:00
|
|
|
Scenario Outline: ruby app with adapter gems
|
|
|
|
Given I am using <ORM> from its adapter gem
|
|
|
|
And the default cleaning strategy
|
|
|
|
|
|
|
|
When I run my scenarios that rely on a clean database
|
|
|
|
Then I should see all green
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| ORM |
|
|
|
|
| ActiveRecord |
|
2018-05-25 20:12:59 -07:00
|
|
|
| CouchPotato |
|
2018-05-25 20:36:08 -07:00
|
|
|
| DataMapper |
|
2018-05-25 23:38:08 -07:00
|
|
|
| Mongoid |
|
2018-05-25 23:48:30 -07:00
|
|
|
| MongoMapper |
|
2018-05-26 00:00:18 -07:00
|
|
|
| Neo4j |
|
2018-05-26 00:11:48 -07:00
|
|
|
| Ohm |
|
2018-05-26 00:23:39 -07:00
|
|
|
| Redis |
|
2018-05-26 00:33:38 -07:00
|
|
|
| Sequel |
|
2018-05-18 19:16:03 -07:00
|
|
|
|
2011-01-16 23:34:45 +07:00
|
|
|
Scenario Outline: ruby app
|
|
|
|
Given I am using <ORM>
|
|
|
|
And the default cleaning strategy
|
|
|
|
|
|
|
|
When I run my scenarios that rely on a clean database
|
|
|
|
Then I should see all green
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| ORM |
|
|
|
|
| ActiveRecord |
|
|
|
|
| DataMapper |
|
2014-12-22 20:33:13 +11:00
|
|
|
| Sequel |
|
2011-01-16 23:34:45 +07:00
|
|
|
| MongoMapper |
|
|
|
|
| Mongoid |
|
|
|
|
| CouchPotato |
|
2013-05-11 14:16:01 +01:00
|
|
|
| Redis |
|
|
|
|
| Ohm |
|
2014-12-01 17:19:27 +01:00
|
|
|
| Neo4j |
|