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

Module 2: Test Categories & Test Case 1 – Successful Data Load

Creating Test Categories

Categories are organisational buckets for your tests. Create the following 5 categories before starting the test cases:

  1. Go to the Categories section in the Test Hub.
  2. Click New Category, enter a name, optional description and colour, then click Save.
  3. Create: Test Case 1, Test Case 2, Test Case 3, Test Case 4, Test Case 5.

Test Case 1: Successful Data Load

Ensuring a successful data load in TM1 is critical for maintaining data accuracy, consistency, and reliability. If data is not loaded correctly, reports and business decisions may be based on incomplete or incorrect information.

Test Details

Name01 Successful Data Load
CategoryTest Case 1
DescriptionExecute Process - GL cube has values as expected

Preconditions

  • TI process: Cube.GeneralLedger.LoadFromFile
  • Data source: AdventureworksDW2019-GLdata.csv in the TM1 data directory

Test Execution

Set UpLeave blank.
ActionTest Type: Process Run
Target: Cube.GeneralLedger.LoadFromFile
Parameter: pYear = 1 (load all years)
Clean UpLeave blank.

Assertions

#NameTypeDetails
1TI Runs = SuccessCheck Action ResultOperator: Equals | Expected: Completed Successfully
2Cube Results as Expected, Net Income for 2024Compare Cell Cube ValueCell: General Ledger [Version=Actual, Year=2024, Period=Year, Currency=Local, Region=Total Europe, Dept=All Departments, Account=Net Income, Measure=Amount] | Operator: Equals | Expected: 2167598.28
3Balance Sheet Balances – 2024Compare Cell Cube ValueOperator: Equals | Expected: 0
4Balance Sheet Balances – 2023Compare Cell Cube ValueOperator: Equals | Expected: 0