Skip to content

UT Test Agent ​

WinAMS-integrated unit test generation agent solving code-context understanding, branch inversion and coverage-filling.

Core Pain Points ​

  1. Test-framework embedding and environment alignment (~10%): Different projects have divergent build conventions; some rely heavily on proprietary .gpj files, making environment setup time-consuming for junior engineers.
  2. Case authoring and execution (~60%): Variable addressing depends on understanding complex code; deep branches require manual reverse-engineering of trigger conditions; isolation of external calls also requires hand-writing many Mocks and stubs.
  3. Case refinement and coverage-gap filling (~20%): Iteratively modifying and filling branches to meet coverage targets is high-frequency, mechanical rework.

Solution & Technical Implementation ​

  1. Code context parsing: The agent handles massive source-code context and dependency networks, building an engineering-level view that assists with variable addressing, branch-condition derivation, and stubbing of complex modules.
  2. No-compilation environment dependency: Parses projects at the source-code level, adapting to different framework scenarios such as CMake, .gpj, catch2, and WinAMS.
  3. WinAMS upstream preprocessing: Does not modify the customer's existing WinAMS execution environment; only auto-generates importable test files upstream.
  4. Case generation and reporting: Generates test inputs covering normal, boundary, and exception paths; outputs CSV/scripts required by WinAMS plus a test report.

Highlights ​

  • Code-context handling (covers ~60% of core pain points): Improves accuracy of branch reverse-engineering and Mock generation.
  • No-compilation environment dependency (covers ~10% infrastructure pain points): Reduces setup friction caused by environment and build-convention differences.
  • Self-evolution capability (covers ~20% rework pain points): Learns historical excellent cases through the business-line knowledge base.
  • Zero-modification WinAMS integration: Preserves the customer's existing execution environment.

Business Value ​

  • Overall test-engineering efficiency improved by ~30%.
  • No-compilation and self-evolution features lower the cost of onboarding new projects, enabling promotion across different BUs.
  • The underlying technical architecture can be extended from C/C++ to languages such as Java and Python.
  • Enterprise-grade scenarios demand high test-generation quality; the UT Agent occupies a clear differentiation space.

SDW AIKO Product Documentation