@LoadEsData
is a repeatable annotation
that is used to define which data to delete from Elasticsearch index.@DeleteEsDataConfig
is a composed annotation that combines
@ExtendWith(DeleteEsDataExtension.class)
from JUnit Jupiter
with the ability to directly define @DeleteEsData
to load.Extension
to delete data from Elasticsearch either before all tests, or before each test.TestRule
to remove data from Elasticsearch either before all tests, or before each test.ApplicationContext
associated with the supplied
ExtensionContext
.EsDataLoader
associated with the supplied ExtensionContext
.TestContextManager
associated with the supplied ExtensionContext
.TestRule
that easily exposes JunitJupiterExtensionLikeTestRule.before(org.junit.runners.model.Statement, org.junit.runner.Description)
, JunitJupiterExtensionLikeTestRule.beforeAll(org.junit.runners.model.Statement, org.junit.runner.Description)
, JunitJupiterExtensionLikeTestRule.after(org.junit.runners.model.Statement, org.junit.runner.Description)
,
JunitJupiterExtensionLikeTestRule.afterAll(org.junit.runners.model.Statement, org.junit.runner.Description)
callbacks, just like Junit Jupiter API does.@LoadEsData
is a repeatable annotation
that is used to define which Elasticsearch data to load into which index and how.@LoadEsDataConfig
is a composed annotation that combines
@ExtendWith(LoadEsDataExtension.class)
from JUnit Jupiter
with the ability to directly define @LoadEsData
to load.Extension
to load data into Elasticsearch either before all tests, or before each test.TestRule
to load data into Elasticsearch either before all tests, or before each test.IndexData
using provided parameters.IndexData
using provided parameters.IndexData
using provided parameters.IndexData
using provided parameter.ElasticsearchOperations
to load data into Elasticsearch.