|
| 1 | +### QIT CLI 0.8.0 Release Notes |
| 2 | + |
| 3 | +#### What’s New |
| 4 | + |
| 5 | +##### Enhanced Orchestration in Custom End-to-End (E2E) Tests |
| 6 | + |
| 7 | +- **Optimized Database Lifecycle Management** |
| 8 | + Improved the database (DB) lifecycle handling during Custom E2E tests, particularly for compatibility testing involving multiple plugins. |
| 9 | + |
| 10 | +- **Streamlined Lifecycle Steps** |
| 11 | + The updated lifecycle now follows these steps: |
| 12 | + 1. **Shared Setup Execution** |
| 13 | + Execute setups that are common to all plugins. |
| 14 | + 2. **Database Export** |
| 15 | + Export the current state of the DB. |
| 16 | + 3. **Per-Plugin Operations** |
| 17 | + For each plugin, perform the following: |
| 18 | + - **DB Import** |
| 19 | + Import the exported DB state. |
| 20 | + - **Plugin-Specific Setup** |
| 21 | + Execute setups unique to the plugin. |
| 22 | + - **Run Tests** |
| 23 | + Conduct the plugin-specific tests. |
| 24 | + - **Plugin-Specific Teardown** |
| 25 | + Execute teardowns unique to the plugin. |
| 26 | + 4. **Shared Teardown Execution** |
| 27 | + Execute teardowns that are common to all plugins. |
| 28 | + |
| 29 | +- **Flexible State Management** |
| 30 | + This update allows you to: |
| 31 | + - **Share State Across Plugins:** Define shared states, such as establishing connections to external services or removing onboarding wizards during the shared setup phase. |
| 32 | + - **Isolate Plugin-Specific Configurations:** Customize setups unique to each plugin, like installing and activating a custom theme required by a specific plugin. |
| 33 | + |
| 34 | +#### Documentation |
| 35 | + |
| 36 | +For a detailed understanding of the new lifecycle management, please refer to our [Understanding the Lifecycle](https://qit.woo.com/docs/custom-tests/understanding-lifecycle) documentation. |
| 37 | + |
| 38 | +#### Support and Feedback |
| 39 | + |
| 40 | +If you have any questions, encounter issues, or have suggestions, please visit our [GitHub Issues Page](https://github.com/woocommerce/qit-cli/issues). Your feedback is invaluable and helps us continuously enhance the QIT CLI tool. |
0 commit comments