What problem does it solve?
It helps you add reliable test coverage to EmbodiChain modules so changes don’t break observation functors, reward functors, solvers, sensors, or environments.
Core Features & Use Cases
- Test placement & naming: Mirrors the
embodichain/ source tree under tests/ and uses the test_<module>.py convention.
- Choose the right test style: Uses pytest style for pure-Python logic and class-style tests when you need
SimulationManager, GPU setup, or ordered/shared state.
- Practical mocking patterns: Provides
MockSim/MockEnv guidance for fast functor tests without running a real simulation.
- Execution readiness: Enforces key conventions like the Apache 2.0 header, required
from __future__ import annotations, descriptive test_<scenario> naming, and black formatting.
Quick Start
Tell the AI which EmbodiChain module or function you want to test, whether it needs a live SimulationManager, and the behaviors you must verify.