Loading a test dataset

If my test class extends BaseModuleContextSensitiveTest then only those datasets which I’ve mentioned in xml files (inside the method executeDataSet), will be loaded while running the test. Is this true or it includes more datasets?

It also includes the initialInMemoryTestDataSet.xml and the standardTestDataset. If you don’t want those, you can annotate your test with @SkipBaseSetup, but if you do so you likely want to ensure that the initial data set is loaded before any custom data otherwise there will be no users in your database which will cause other entities to fail to load.

1 Like

Oh, this clears my doubt. Thanks