Abstract
Being different from testing for popular GUI software, the “instruction-category” approach is proposed for testing embedded system. This approach is constructed by three steps including refining items, drawing instruction-brief and instruction-category, and constructing test suite. Consequently, this approach is adopted to test oven embedded system, and detail process is deeply discussed. As a result, the factual result indicates that the “instruction-category” approach can be effectively applied in embedded system testing as a black-box method for conformity testing.
Introduction: The "Black Box" Challenge in Embedded Systems
In the modern landscape of global supply chains, consumer appliances often integrate components from various international manufacturers. For regulatory bodies and quality assurance teams, this presents a significant "black box" problem. Verifying the safety and functionality of these embedded systems is difficult when internal logic or source code is inaccessible due to intellectual property protections.
Traditional software testing methodologies, such as the "outline" approach, typically rely on internal development requirements. However, for market monitoring and quality supervision, testers are limited to external interfaces and product manuals. Standard GUI testing methods often fail to account for the real-time hardware constraints and safety-critical "action loops" (start-run-alarm-stop) inherent in devices like industrial ovens.
The Instruction-Category Methodology
To address these challenges, researchers have developed the "Instruction-Category" approach, a systematic black-box methodology designed for conformity testing. This framework transforms product documentation into a structured testing roadmap.
The methodology consists of three primary phases:
- Refining Instruction Items: Testers extract every functional claim and safety constraint from the product manual. Each item is assigned a unique code (e.g., "I1" for cooling fan requirements) to ensure traceability.
- Drawing the Instruction-Brief and Category:
- The Instruction-Brief provides an initial mapping of key control parameters (e.g., temperature, time) and operation modes (Manual vs. Automatic).
- The Instruction-Category expands this into a detailed "Parameter-Operation" taxonomy. This taxonomy distinguishes between "Parameter" testing (validating data ranges and boundary values) and "Operation/Behavior" testing (verifying legal sequences of actions).
- Test Suite Construction: Every "leaf-item" in the taxonomy is converted into a specific test case. Unlike standard software testing, these cases explicitly define a "prior state" (e.g., the oven must be in a pre-heating state) to account for the state-dependent nature of hardware.
Case Study: Digital Oven Testing
The approach was validated using a German-made digital house-ware oven. The researchers constructed a benchmark of over 133 test cases covering manual cooking, automatic modes, user customization, and safety interrupts.
Key Insights from Implementation
- Testing for Conformity: The focus shifts from finding code bugs to ensuring the physical device behaves exactly as the manual claims.
- Parameter-Operation Separation: By isolating data input (e.g., temperature limits) from behavioral states (e.g., door-opening during operation), the method ensures both micro-controller logic and physical actuators are verified.
- Safety as a State: The study emphasizes testing "unusual states" like power loss or door-opening during high-heat cycles, which are critical for hardware safety but often overlooked in software-only testing.
Results and Conclusion
The "Instruction-Category" approach successfully produced a rigorous, repeatable test suite. For instance, the suite verified that the oven's cooling fan runs for exactly 20 seconds after shutdown—a critical requirement for hardware longevity.
While this remains a black-box method and cannot detect "silent" internal logic errors that don't manifest externally, it provides a robust framework for market supervision. Future work may involve automating the extraction of these taxonomies from natural language manuals using advanced AI models, further streamlining the path from product documentation to comprehensive safety verification.
Summary updated