Skip to content

Commit

Permalink
Merge pull request #618 from Cloud-Code-AI/616-e2e-update-the-code-pr…
Browse files Browse the repository at this point in the history
…ompt

docs: update test design guidelines and version bump
  • Loading branch information
sauravpanda authored Oct 17, 2024
2 parents 9c21530 + b5a8dc3 commit 8697950
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions kaizen/llms/prompts/e2e_tests_prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
Break it down into 5-10 separate modules and identify the possible things to test for each module.
For each module, also identify which tests should be checked repeatedly (e.g., after every code change, every build, etc.).
Ensure the following are considered:
- Input validation is thoroughly tested.
- Avoid using if-else steps in the test design.
- Consider session timeouts and their handling.
- Test all actionable items (e.g., buttons, links).
Return the output as JSON with the following keys:
{{"tests": {{
"id": "serial number to identify module",
Expand Down Expand Up @@ -51,6 +57,10 @@
5. Incorporate data-driven testing and parallelization strategies.
6. Ensure compatibility with the CI/CD pipeline and provide clear documentation.
7. Continuously maintain and improve the test scripts as the application evolves.
8. Ensure input validation is tested.
9. Avoid using if-else steps in the test scripts.
10. Consider session timeouts and their handling.
11. Test all actionable items (e.g., buttons, links).
Prioritize code quality, maintainability, and adherence to best practices in test automation. Collaborate with developers and stakeholders for seamless integration into the software development lifecycle.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kaizen-cloudcode"
version = "0.4.18"
version = "0.4.19"
description = "An intelligent coding companion that accelerates your development workflow by providing efficient assistance, enabling you to craft high-quality code more rapidly."
authors = ["Saurav Panda <[email protected]>"]
license = "Apache2.0"
Expand Down

0 comments on commit 8697950

Please sign in to comment.