database-rider

Database testing made easy!

APACHE-2.0 License

Stars
645
Committers
60

Bot releases are visible (Hide)

database-rider - v1.6.0

Published by rmpestano over 5 years ago

Release notes

  • Programmatic definition of data sets (#129)
  • Unable to connect to in-memory HSQLDB with empty username (#131)
  • Simplify DataSetExecutor equals method (#133)
  • Save dataset when error occours in seeding database (#134)
  • Generate DataSetBuilder code via DataSetExporter (#135)
  • Adds perf tests for comparing in-memory x file based dataset creation.

This release introduces a new API for creating datasets programmatically, see details here and here

Heroes

@raderio @xpinjection @arhohuttunen @artemy-osipov

database-rider - v1.5.3

Published by rmpestano over 5 years ago

Release notes

  • cleanBefore does not work with multiple schemas on postrgres (#63)
  • Fixed schema resolving on postgresql (#66)
  • Support for MS SQL Server (#121)
  • Automatic disable constraints in PostgreSQL (#122)
  • Ignore tables from system schema in MS SQL Server (#123)
  • Adds leak hunter and disable constraints for MSSQL server (#125)
  • Adds disable constraints and leak hunter tests for MSSQL Server (#126)
  • added test for identity columns population in MS SQL Server (#128)

Heroes

@xpinjection

database-rider - v1.5.2

Published by rmpestano over 5 years ago

Release notes

  • Expected dataset contains operation (#115)

Heroes

@iceberk

database-rider - v1.5.1

Published by rmpestano almost 6 years ago

Release notes

  • Configuration on base class not working anymore (#112)
database-rider - v1.5.0

Published by rmpestano almost 6 years ago

Release notes

  • Order of rows in @ExpectedDataSet (#71, #76)
  • Dynamic Connection Config based on system properties or environment variables (#105)

Heroes

@markus-meisterernst and @arhohuttunen

database-rider - v1.4.0

Published by rmpestano about 6 years ago

Release notes

  • Add support for DB2 (#98 )
  • Allow replacement in @ExpectedDataSet (#100 )

Heroes

@abellmann and @vinsgithub

database-rider - v1.3.0

Published by rmpestano about 6 years ago

Release notes

  • Document dataset merging support documentation (#96)
  • Make project quality (gate) green on Sonar enhancement (#95)
  • Add ability to merge datasets enhancement (#92)
  • Rider CDI - DBUnit interceptor should not run on @Before or @After (#93)
  • Write DTD file for XML export enhancement (#89)

Heroes

@kayma-hl, @artemy-osipov, @getarrenspieler and @kayma-hl

database-rider - v1.2.11

Published by rmpestano about 6 years ago

Release notes

  • Add custom replacements for dataset (#52)
  • Custom replacers + NullReplacer, UnixTimestampReplacer (#85)
  • Document replacers (#86)
  • Add ExpectedDataset with regex example to readme (#88)

See docs about the new replacers feature here.

Heroes

@njuro

database-rider - v1.2.10

Published by rmpestano about 6 years ago

Release notes

  • #80 Allow DB Rider annotations to be used as meta-annotations (rider-spring)
  • #81 Add support for MetaAnnotation in rider core
  • #82 Allow DB Rider annotations to be used as meta-annotations (rider-junit5)
  • #83 Document meta dataset support documentation
  • #84 Add support for MetaAnnotation in rider cdi

See docs about the new meta dataset feature here and here.

Heroes

@njuro

database-rider - v1.2.9

Published by rmpestano about 6 years ago

Release notes

  • #30 Mechanism for custom DataTypeFactory;
  • #77 TableOrdering javadoc adjustment.

Heroes

@TopalSergey

database-rider - v1.2.8

Published by rmpestano over 6 years ago

Release notes

  • #74 Cleanup not working as expected when a previous test fails.
database-rider - v1.2.7

Published by rmpestano over 6 years ago

Release notes

#72 Adds Spring module, see usage here

Heroes

@artemy-osipov

database-rider - v1.2.6

Published by rmpestano almost 7 years ago

Release notes

#62 Seed strategy for truncate insert
#64 Incorrect artifactId in readme
#65 Merging default configuration with configuration in custom file

Heroes

@iceberk
@artemy-osipov

database-rider - v1.2.5

Published by rmpestano almost 7 years ago

Release notes

#53 No algorithm found for in ScriptableTable bug
#55 Update to latest JUnit5 api (Jupiter 5.0.1)

Heroes

@jenskreidler

database-rider - v1.2.4

Published by rmpestano almost 7 years ago

Release notes

#47 executorId and multiple database tests
#50 FlatXmlDataSetLoader doesn't allow reading the dtd from the same folder as the xml

database-rider - v1.2.3

Published by rmpestano about 7 years ago

Release notes

#46 Changes the way dynamic datasets script replacements are done. Instead of using a ReplacementDataSet We have created our own "ScriptableDataSet". The main problem with Replacements is that if a replace pattern is repeated in a dataset the replacement will be the same for all matches.

database-rider - v1.2.2

Published by rmpestano about 7 years ago

Release notes

#43 LeakHunter uses wrong sql to count open connections in H2;
#44 Transactional interceptor doesn't close transaction when test falls down by assert;
#45 JUnit5 - update dependency to 1.0.0.

Heroes

@empyrosx

database-rider - v1.2.1

Published by rmpestano about 7 years ago

Release notes

#40 ClassLevel DataSet annotation support for Rider CDI
#41 Update JUnit5 to RC3

database-rider - v1.2.0

Published by rmpestano about 7 years ago

Release notes

#26 DataBaseSeedingException after migrating from rider-core:1.0.0 to 1.1.0
#27 Loading script file from within jar
#29 NPE on test methods not annotated with @DataSet (junit 5)
#32 Config to apply uppercase to the table and columns names (related to #37)
#34 Consider all rows to get the columns and not the first one
#35 Updates to latest JUnit5
#37 Support for Case INsensitive YML dataset

Heroes

@gerosa @salashnik and @jenskreidler

This release was only possible due to their hard work and contribution!

database-rider - v1.1.0

Published by rmpestano over 7 years ago

Release notes

#19 ExportDataSet can not to establish connection
#21 ExpectedDataSet can not find lowercase named table in yaml format
#24 Merge global and user defined configuration
#25 Remove caseSensitiveTableNames from DBUnit config

Migration from 1.0.0 or below

If you use HSQLDB and declare your datasets table and column names in lowercase then you must change it to upper or use caseSensitiveTableNames DBUnit property. See discussion here and sample code here and here.

Package Rankings
Top 10.18% on Repo1.maven.org
Related Projects