...
There is a plane to have Full API test coverage of Ignite functionality. See:
Jira | ||||||
---|---|---|---|---|---|---|
|
The purpose of this ticket is to make sure that all ignite operations should work for any configuration properties combination.
Ignite already has Full API test suites, but currently it's hard to test all configuration combinations.
...
The main idea of Configuration Variations framework is a using of a matrix of possible variants of configuration properties.
Lets imagine there's a need to look over all possible variations of IgniteConfiguration
where marshaller property can be BinaryMarshaller
/ OptimizedMarshaller
and perClassLoadingEnabled
can be true
/ false.
So, there's the following matrix:
IgniteConfiguration Property | Variant 1 | Variant 2 |
---|---|---|
marshaller | BinaryMarshaller |
|
peerClassLoadingEnabled | true | false |
The framework has VariationsIterator
which will produce the following 4 variation vectors for the matrix above:
BinaryMarshaller
and perClassLoadingEnabled
flag to true.
OptimizedMarshaller
and perClassLoadingEnabled
flag to true.
BinaryMarshaller
and perClassLoadingEnabled
flag to false
.OptimizedMarshaller
and perClassLoadingEnabled
flag to false
.The following methods should be used to provide custom matrixes:
ConfigVariationsTestSuiteBuilder.igniteParams(ConfigParameter<IgniteConfiguration>[][] igniteParams)
ConfigVariationsTestSuiteBuilder.cacheParams(ConfigParameter<CacheConfiguration>[][] cacheParams)
ConfigVariations
- contains ready to use configuration parameters matrixes.
Parameters
- contains util methods to build parameters matrixes.
ConfigVariationsTestSuiteBuilder
also provides possibility to filter Ignite and Cache configurations. See withIgniteConfigFilters(IgnitePredicate<IgniteConfiguration>... filters) and withCacheConfigFilters(IgnitePredicate<CacheConfiguration>... filters) methods.
There is a plane to have Full API test coverage of Ignite functionality. See:
Jira | ||||||
---|---|---|---|---|---|---|
|
The purpose of this ticket is to make sure that all ignite operations should work for any configuration properties combination.