Description
In 3GPP specifications 31.213 and 51.013, a test case is defined as an elementary test that checks for compliance with one or more Conformance Requirement References. It represents the smallest executable unit in a conformance test suite, designed to verify a specific requirement or set of requirements derived from the relevant 3GPP specification, particularly TS 43.019 for the SIM Application Toolkit (SAT). Each test case is self-contained and includes all necessary steps to set up the test environment, execute the test, and verify the expected outcome. The result of a test case is typically a pass or fail, indicating whether the implementation under test complies with the requirement.
Test cases are grouped into test areas, which organize them according to the part of the specification they target. This hierarchical structure allows test engineers to manage and execute tests systematically. A test case is derived from one or more conformance requirement references, which are precise statements of what the implementation must do to be compliant. These references are often extracted from the core specification and are used to ensure traceability between requirements and tests.
The design of a test case includes a test purpose, a set of preconditions, a test procedure, and expected results. It may also specify the test environment, such as the required SIM card configuration and mobile equipment capabilities. Test cases are executed by a test system, which may be a dedicated conformance test tool. The test system interacts with the implementation under test via standardized interfaces, such as the SIM-ME interface, to stimulate and observe behaviour.
In the context of SAT testing, test cases cover a wide range of features, including proactive commands (e.g., DISPLAY TEXT, SEND SHORT MESSAGE), event handling (e.g., CALL CONNECTED), and security mechanisms. Each test case is designed to be independent, allowing tests to be run in any order, though some may have dependencies. The results of test cases are aggregated to determine the overall conformance of the implementation for a test area or the entire suite.
Test cases are defined in the 3GPP testing specifications, which provide a detailed description for each case. They are maintained and updated as the core specifications evolve, ensuring that new features are covered and obsolete tests are removed. The stability of the definition over releases reflects the maturity of the conformance testing framework, though the actual test cases may change as the underlying technology evolves.
Purpose & Motivation
The test case concept exists to provide a standardized, repeatable method for verifying that implementations comply with 3GPP specifications. Without well-defined test cases, conformance testing would be ad hoc and inconsistent, leading to interoperability problems. Test cases ensure that all critical requirements are tested uniformly across different vendors and networks.
The need for test cases arises from the complexity of modern mobile networks, where a single device must interoperate with many network elements from different manufacturers. Conformance testing, based on test cases, helps to achieve this interoperability by validating each device against the same set of requirements. The test case as an elementary test that checks for compliance with one or more Conformance Requirement References provides a clear and traceable link between the specification and the test.
Historically, as the SIM Application Toolkit became more feature-rich, the number of conformance requirements grew, necessitating a structured approach to testing. The introduction of test cases in 3GPP testing specifications allowed for systematic verification. Each test case focuses on a specific requirement or related group, making it easier to identify and fix non-compliance. The concept has remained stable, demonstrating its effectiveness as the building block of conformance testing.
What changed in its specifications
The latest release-to-release comparison of specifications that define Test case. Each summary describes the whole specification, not only this term.
Rel-7 added USSD message delivery and transfer to USIM with formatted and unformatted events, concatenation processing, and conformance requirements for formatted SMS events plus test coverage for unformatted SMS and USSD events.
Full comparison in TS 31.213 →Rel-5 added new handler methods, events, channel allocation, proactive command control, and concatenation processing to the USIM toolkit.
Full comparison in TS 51.013 →Release Timeline
Detected Changes Across Releases
from 3GPP Change RequestsSpecific changes extracted from the „Change history“ tables of 3GPP specifications (4 CRs across 3 releases). Complements the general historical overview above with the evidence-based evolution of this function.
Defining Specifications
3GPP specifications that define or reference Test case, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 31.213 vi50 | USIM API for Java Card Test Specification | Rel-18 read |
| TS 51.013 vj00 | SIM API for Java Card Test Specification | Rel-19 read |