Skip to content

Provide a way to replace tokens in the data set with values generated in test runtime. #60

@acisser

Description

@acisser

Look at the most voted answer for the following post

http://stackoverflow.com/questions/2856840/date-relative-to-current-in-the-dbunit-dataset

I'm imaging something like this:

@Before
public void onSetup(@DatabaseSetupRelatedAnnotation ReplacementDataSet replacementDataSet){}
@Test
@DatabaseSetup("initDataset.xml")
@ExpectedDatabase("expectedDataset.xml")
public void testXX(@ExpectedDatabaseRelatedAnnotation ReplacementDataSet replacementDataSet){}

I remember seeing BDD frameworks before like cucumber injecting values in test method arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions