mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 14:22:02 +00:00
- Introduced comprehensive unit tests for the pipeline routes, covering handlers for getting, saving, adding, updating, deleting, and reordering steps. - Added tests for the pipeline service, ensuring correct behavior for methods like getting and saving pipeline configurations, adding, updating, and deleting steps, as well as reordering them. - Implemented error handling tests to verify graceful degradation in case of missing parameters or service failures. - Enhanced test coverage for the `getNextStatus` and `getStep` methods to ensure accurate status transitions and step retrieval. These tests improve the reliability of the pipeline feature by ensuring that all critical functionalities are validated against expected behaviors.