Sha256: 073457a0ad7b7dd202c8e6eaeb0860078a73c9f858202c6d08e901937c2a65cc

Contents?: true

Size: 862 Bytes

Versions: 3

Compression:

Stored size: 862 Bytes

Contents

Feature: dump data from different database types (e.g. MySQL, PostgreSQL, SQLite, etc.)

  sqldump supports dumping data from any database type supported by Ruby DBI/DBD.
  The default database type is (for now) SQLite3 for the simple reason that it's extremely easy to test with.

  In a distant future, there may be JRuby support for JDBC to (possibly) extend the range of supported databases
  even further.

  Scenario: SQLite3

  Scenario: MySQL

  Scenario: SQL Server

  Scenario: PostgreSQL
    Given a PostgreSQL database named "numbers" on "localhost"
    And a table "numbers" with the following data
      | number[int] |
      | 17          |
      | 42          |
      | 4711        |
    When I run `sqldump -T postgresql -d numbers -S localhost -U sqldump -P sqldump numbers`
    Then it should pass with:
    """
    17
    42
    4711
    """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sqldump-0.0.4 features/database_types.feature
sqldump-0.0.3 features/database_types.feature
sqldump-0.0.2 features/database_types.feature