database-rider

Database testing made easy!

APACHE-2.0 License

Stars
645
Committers
60

Bot releases are hidden (Show)

database-rider - v1.44.0 Latest Release

Published by rmpestano 3 months ago

Release notes

  • Enable JSON Schema support #600
  • Respect @DBRider in junit5 @BeforeAll, @BeforeEach, @AfterAll, @AfterEach methods #601

Heroes

@Micky002 @vaa25

database-rider - v1.43.0

Published by rmpestano 3 months ago

Release notes

  • Feature request: wildcard/regex support for skipCleaningFor in @DataSet #597
  • Add dataset value attribute and provider attribute duplication use log #599
  • use java.util.Base64 instead of javax.xml.bind.DatatypeConverter for encoding Base64 #591
  • shouldExportJSONDataSetWithEscapedQuotes(ExportDataSetIt.java:176) for windows environment #582

Heroes

@tomlux @netmikey @coiouhkc @diqksrk

database-rider - v1.42.0

Published by rmpestano 7 months ago

Release notes

  • Extract base class MapDataSet from JSONDataSet, to simplify integration with other test frameworks #569
  • DataSetConfig should allow to configure DataSetProvider instance #567
  • Add SnakeYAML 2.x compatibility #579
  • keeping table export ordering indicated in "includeTables" #581

Heroes

@beskow @xak2000 @tomlux

database-rider - v1.41.1

Published by rmpestano 8 months ago

Release notes

  • Fix rider-junit5 jakarta classifier #565

Make sure to declare rider-core and rider-junit5 with jakarta classifier:

<dependency>
    <groupId>com.github.database-rider</groupId>
    <artifactId>rider-junit5</artifactId>
    <version>1.41.1</version>
    <scope>test</scope>
    <exclusions>
        <exclusion>
            <groupId>com.github.database-rider</groupId>
            <artifactId>rider-core</artifactId>
        </exclusion>
    </exclusions>
    <classifier>jakarta</classifier>
</dependency>
<dependency>
    <groupId>com.github.database-rider</groupId>
    <artifactId>rider-core</artifactId>
    <version>1.41.1</version>
    <scope>test</scope>
    <classifier>jakarta</classifier>
</dependency>

Heroes

@jowko

database-rider - v1.41.0

Published by rmpestano about 1 year ago

Release notes

  • Add jakarta classifier for rider-junit5 module #565
database-rider - v1.40.0

Published by rmpestano about 1 year ago

Release notes

  • Updated the version for tuprolog from 0.20.2 to 0.20.9. #564
  • Make rider-core compatible with jakarta persistence #561

Now both rider-core and rider-cdi have the jakarta maven classifier

Heroes

@abigailCortis @HongHanh9527

database-rider - v1.39.0

Published by rmpestano over 1 year ago

Release notes

  • Dataset provider is lost during merge #559

Heroes

@mdiachuk

database-rider - v1.38.1

Published by rmpestano over 1 year ago

Release notes

  • Support quarkus 3.x in rider-cdi (#496)

To use rider-cdi with quarkus 3 or any Jakarta application, enable the jakarta classifier in rider-cdi:

  <dependency>
      <groupId>com.github.database-rider</groupId>
      <artifactId>rider-cdi</artifactId>
      <version>1.38.1</version>
      <scope>test</scope>
      <classifier>jakarta</classifier>
      <exclusions>
        <exclusion>
          <artifactId>stax-api</artifactId>
          <groupId>stax</groupId>
        </exclusion>
      </exclusions>
    </dependency>

Heroes

@DeMol-EE @mkwapisz @matjazs

database-rider - v1.37.1

Published by rmpestano over 1 year ago

Release notes

Heroes

@vladimirfx

database-rider - v1.37.0

Published by rmpestano over 1 year ago

Release Notes

  • It's not possible to use dbunit.yaml (instead of yml) #548
  • Execute statement with default options #549
  • Add support for skipping specific timescaleDB schemas during cleanup #553

Heroes

tiagomistral, haoadoreorange, dfitisoff-k

database-rider - v1.36.0

Published by rmpestano over 1 year ago

Release Notes

  • Require JDK 8 as minimal java version (#541)
  • Prolog-like expected data set assertion (#363)
  • Inconsistent logging across framework (#519)

Heroes

jowko and coiouhkc

database-rider - v1.35.1

Published by rmpestano almost 2 years ago

Release Notes

  • Support xlsx dataset (#525)
  • Correct mysql-connector dependency to scope test (#528)
  • Only run release job in master (#529)
  • Add @BeforeAll hook and documentation note to SpringBootDBUnitTest (#513)

Heroes

@opengl-8080 @bergerst @niels1voo

database-rider - v1.35.0

Published by rmpestano almost 2 years ago

Release Notes

  • [MySQL] Schema resolver always returns null (#505)

Heroes

@coiouhkc

database-rider - v1.34.0

Published by rmpestano about 2 years ago

Release Notes

  • Read DBUnit configuration from system properties and environment variables (#483)

Heroes

@netmikey

database-rider - v1.33.0

Published by rmpestano about 2 years ago

Release notes

In this release, we updated DBUnit to 2.7.3 and replaced org.codehaus.jackson by jackson-databind.

  • cleaning DB does not work with H2 (#461)
  • Dependencies with vulnerabilities (#478)
  • Vulnerable version of jackson-mapper-lgpl (#457)

Heroes

@trks1970

database-rider - v1.32.3

Published by rmpestano over 2 years ago

Release notes

  • clearDatabase does not take table ordering into account (#417)

Heroes

@vincentstradiot

database-rider - v1.32.2

Published by rmpestano over 2 years ago

Release Notes

  • DisableConstraints=true for H2 executes non-H2 SQL Statement (#375)
  • Missing javax.annotation.Priority in DBUnitInterceptorImpl (#384)
  • Spring @Transactional tests is broken in version 1.27 (#365 )

Heroes

@vkrauze @JapuDCret @bergerst @jpbassinello

database-rider - v1.32.1

Published by rmpestano almost 3 years ago

Release notes

  • Cannot read columnSensing config from dbunit.yml (#379)

Heroes

@entireboy

database-rider - v1.32.0

Published by rmpestano almost 3 years ago

Release notes

  • Ability to handle property Map<String, Object> in EntityManagerProvider.instance() (#364)

Heroes

@duschata

database-rider - v1.31.0

Published by rmpestano about 3 years ago

Release notes

  • Usage of scripting in @ExpectedDataSet (#358)
  • DBRIDER-358 = add scripting support in @ExpectedDataSet (#359)

This release enables the use of javascript or groovy assertions in @ExpectedDataSet, for example, consider the following dataset:

USER:
  - ID: "js:(value > 0)"
    NAME: "js:(value != null && value.contains('@realpestano'))"
  - ID: "groovy:(value > 0)"
    NAME: "groovy:(value != null && value.contains('@dbunit'))"

To enable the scripting you mainly need the js: or groovy: prefix followed by an expression which evaluates to boolean inside a parentheses. The value in the expression refers to the actual value that should be in database after the test runs.

    @Test
    @DataSet(value = "yml/empty.yml", transactional = true)
    @ExpectedDataSet(value = "yml/expectedUserWithScripting.yml")
    public void shouldEvaluateScriptsInExpectedDataSet() {
        User u = new User(1);
        u.setName("@realpestano");
        User u2 = new User(2);
        u2.setName("@dbunit");
        em().persist(u);
        em().persist(u2);
    }

Heroes

@coiouhkc

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