Code Monkey home page Code Monkey logo

dbunit-extensions's People

Contributors

renelink avatar

Watchers

 avatar

dbunit-extensions's Issues

lis-dbunit-migration should only export the database diff between two versions

Since flyway scripts are pure SQL they can insert data into the database. The migrated dataset should not contain the data that was inserted by flyway scripts. Thus lis-dbunit-migration needs to make a diff between the source and target db version.

The process should be:

  1. Setup a clean database
  2. Let flyway migrate to a source version
  3. Save the database state of the source version
  4. Insert the dataset that should be migrated
  5. Migrate the dataset using flyway to the target version.
  6. Export the target version as dataset
  7. Make a diff between the target and source version
  8. Export the changed dataset (the diff).

lis-dbunit-migration should support SQL script dataset definitions.

It would be nice if the database migraiton module can also migrate SQL scripts.

Here I have to check the limitations of SQL script migration. E.g. If a dataset SQL script contains more then just dml. There could be integration tests that use dml to simulate a schema change in order to test how the application handles such situations or how the error message look like.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.