File: cleaning.feature

package info (click to toggle)
ruby-database-cleaner 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 756 kB
  • sloc: ruby: 4,852; makefile: 10; sh: 4
file content (30 lines) | stat: -rw-r--r-- 934 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Feature: database cleaning
  In order to ease example and feature writing
  As a developer
  I want to have my database in a clean state

  Scenario Outline: ruby app
    Given I am using <ORM>
    And the <Strategy> cleaning strategy

    When I run my scenarios that rely on a clean database
    Then I should see all green

  Examples:
    | ORM          | Strategy    |
    | ActiveRecord | transaction |
    | ActiveRecord | truncation  |
    | ActiveRecord | deletion    |
    | DataMapper   | transaction |
    | DataMapper   | truncation  |
    | Sequel       | transaction |
    | Sequel       | truncation  |
    | Sequel       | deletion    |
    | MongoMapper  | truncation  |
    | Mongoid      | truncation  |
    | CouchPotato  | truncation  |
    | Redis        | truncation  |
    | Ohm          | truncation  |
    | Neo4j        | deletion    |
    | Neo4j        | truncation  |
    | Neo4j        | transaction |