Quiz: Knowledge Check – Unit Testing in TM1
Question 1
What are the three main components of the Arc Test Hub?
- Unit Tests, Rules, and Chores
- Unit Tests, Test Categories, and Test Collections
- Test Cases, Test Suites, and Test Reports
- Processes, Cubes, and Dimensions
Question 2
What is the purpose of the "Set Up" section in the Test Execution tab?
- To define the expected output of the test
- To write TI code that prepares the environment before running the test
- To clean up data after the test has run
- To configure the test category and description
Question 3
How are assertions executed within a unit test?
- All assertions run in parallel simultaneously
- Randomly in any order
- Sequentially — the test stops at the first failure
- Only the last assertion result is evaluated
Question 4
Which assertion type would you use to verify that a TI process completed without errors?
- Compare Cell Cube Value
- Check Process Result
- Check Action Result
- Inspect Dimension Element
Question 5
What does "Test Coverage" measure?
- The number of tests created in a collection
- The percentage of TM1 cubes covered by tests
- The degree to which TI source code lines are executed when a test suite runs
- The time taken to run a test collection
Question 6
In Test Case 2 (Rule Check), why does the "Test Feeders" assertion fail?
- The rule formula is incorrect
- The test data values are invalid
- The rule is not being fed to consolidated elements
- The Product cube does not exist
Question 7
What happens to test categories when you import a Test Collection into a new environment?
- Categories are imported automatically along with the tests
- Categories must be exported separately in a different file
- Categories are not imported — the Test Hub assigns the first existing category to each test
- The import will fail if categories don't exist in the target environment
Question 8
Which of the following is a best practice for creating comprehensive unit tests?
- Only test with valid data to avoid false failures
- Run each process with only one fixed set of parameters
- Include invalid values and test all conditional branches (IF/ELSEIF/ELSE)
- Create one large test with all assertions for efficiency
Well done for completing the Arc Hands-On Part 3 course! Head back to Arc+ Training to explore more courses.