Cross compatibility with non-Copper definitions
Defining measures using both Copper and the classic ways (like the builders or using the measure definitions) should work seamlessly. Copper is also able to handle non-Copper analysis levels and hierarchies, under the condition that the property inIAxisLevelDescription#ANALYSIS_LEVEL_TYPE_PROPERTY be specified in the properties of the levels of the Analysis Hierarchy.
This is because Copper is not aware of the level types for the analysis hierarchies defined outside its context’s scope (like
Java-based analysis hierarchies defined in the Cube description). in such cases you need to provide that information in the hierarchy description properties.
Since the information is to be provided in the hierarchy description, it can either be specified by the Analysis Hierarchy’s description provider:
withCustomizations(Consumer<IHierarchyDescription>) method:
Using the testing framework
Atoti Server comes with utility functions to ease the writing of tests. These utilities come in the form of another module:Defining a test environment
Defining the application to test follows the same standard practices as one would use in a regular application.Using the testers
The testing framework provides a tester for the cube, which can be obtained by callingCubeTester.from(<manager>). It will allow to run an MDX query against the created cube.