New Upload weather data from web services into TM1/Planning Analytics — Read the post →

Quiz: Knowledge Check – Unit Testing in TM1

Question 1

What are the three main components of the Arc Test Hub?

  1. Unit Tests, Rules, and Chores
  2. Unit Tests, Test Categories, and Test Collections
  3. Test Cases, Test Suites, and Test Reports
  4. Processes, Cubes, and Dimensions

Question 2

What is the purpose of the "Set Up" section in the Test Execution tab?

  1. To define the expected output of the test
  2. To write TI code that prepares the environment before running the test
  3. To clean up data after the test has run
  4. To configure the test category and description

Question 3

How are assertions executed within a unit test?

  1. All assertions run in parallel simultaneously
  2. Randomly in any order
  3. Sequentially — the test stops at the first failure
  4. Only the last assertion result is evaluated

Question 4

Which assertion type would you use to verify that a TI process completed without errors?

  1. Compare Cell Cube Value
  2. Check Process Result
  3. Check Action Result
  4. Inspect Dimension Element

Question 5

What does "Test Coverage" measure?

  1. The number of tests created in a collection
  2. The percentage of TM1 cubes covered by tests
  3. The degree to which TI source code lines are executed when a test suite runs
  4. The time taken to run a test collection

Question 6

In Test Case 2 (Rule Check), why does the "Test Feeders" assertion fail?

  1. The rule formula is incorrect
  2. The test data values are invalid
  3. The rule is not being fed to consolidated elements
  4. The Product cube does not exist

Question 7

What happens to test categories when you import a Test Collection into a new environment?

  1. Categories are imported automatically along with the tests
  2. Categories must be exported separately in a different file
  3. Categories are not imported — the Test Hub assigns the first existing category to each test
  4. 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?

  1. Only test with valid data to avoid false failures
  2. Run each process with only one fixed set of parameters
  3. Include invalid values and test all conditional branches (IF/ELSEIF/ELSE)
  4. 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.