@bugzy-ai/bugzy 1.11.3 → 1.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.cjs +54 -1
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +54 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +54 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +54 -1
- package/dist/index.js.map +1 -1
- package/dist/tasks/index.cjs +54 -1
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js +54 -1
- package/dist/tasks/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1823,6 +1823,42 @@ Generate summary of test selection based on description analysis:
|
|
|
1823
1823
|
- **Execution strategy**: [smart selection | full suite | smoke tests | user-specified]
|
|
1824
1824
|
\`\`\``
|
|
1825
1825
|
},
|
|
1826
|
+
// Step 7b: Create Tests for Coverage Gaps (conditional - test-code-generator)
|
|
1827
|
+
{
|
|
1828
|
+
inline: true,
|
|
1829
|
+
title: "Create Tests for Coverage Gaps",
|
|
1830
|
+
content: `If the test scope analysis found that existing tests do NOT cover the changed feature:
|
|
1831
|
+
|
|
1832
|
+
### Identify Coverage Gaps
|
|
1833
|
+
|
|
1834
|
+
Compare:
|
|
1835
|
+
- **Changed feature**: What the Jira issue / PR describes
|
|
1836
|
+
- **Existing tests**: What test specs already exist in tests/specs/
|
|
1837
|
+
|
|
1838
|
+
If there are NO automated tests covering the new/changed feature:
|
|
1839
|
+
|
|
1840
|
+
### Create Manual Test Cases
|
|
1841
|
+
|
|
1842
|
+
Create or update test case files in \`./test-cases/\` for the new feature:
|
|
1843
|
+
- One file per test scenario (e.g., \`test-cases/TC-XXX-checkout-improved.md\`)
|
|
1844
|
+
- Include: objective, preconditions, test steps, expected results
|
|
1845
|
+
- Mark \`automated: true\` for scenarios that should be automated
|
|
1846
|
+
|
|
1847
|
+
### Generate Playwright Specs
|
|
1848
|
+
|
|
1849
|
+
{{INVOKE_TEST_CODE_GENERATOR}} to create automated test specs:
|
|
1850
|
+
- Read the manual test cases you just created
|
|
1851
|
+
- Explore the feature in the browser to discover selectors and flows
|
|
1852
|
+
- Create Page Objects in \`./tests/pages/\` if needed
|
|
1853
|
+
- Create test specs in \`./tests/specs/\` matching the test cases
|
|
1854
|
+
- Run each new test to verify it passes
|
|
1855
|
+
- Update the manual test case with \`automated_test\` reference
|
|
1856
|
+
|
|
1857
|
+
### If Tests Already Cover the Feature
|
|
1858
|
+
|
|
1859
|
+
Skip this step \u2014 proceed directly to running existing tests.`,
|
|
1860
|
+
conditionalOnSubagent: "test-code-generator"
|
|
1861
|
+
},
|
|
1826
1862
|
// Step 8-11: Test Execution (library steps)
|
|
1827
1863
|
"run-playwright-tests",
|
|
1828
1864
|
"parse-test-results",
|
|
@@ -1929,6 +1965,23 @@ All user-facing changes are fully covered by automated tests.
|
|
|
1929
1965
|
[Safe to merge | Review bugs before merging | Do not merge]
|
|
1930
1966
|
\`\`\``
|
|
1931
1967
|
},
|
|
1968
|
+
// Step 14b: Post Results to Slack (conditional on team-communicator)
|
|
1969
|
+
{
|
|
1970
|
+
inline: true,
|
|
1971
|
+
title: "Post Results to Team Channel",
|
|
1972
|
+
content: `**IMPORTANT \u2014 Do this NOW before proceeding to any other step.**
|
|
1973
|
+
|
|
1974
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to post the verification results summary to the team Slack channel.
|
|
1975
|
+
|
|
1976
|
+
Include in the message:
|
|
1977
|
+
- What was verified (issue ID and feature name)
|
|
1978
|
+
- Test results (total / passed / failed)
|
|
1979
|
+
- New tests created (list file names)
|
|
1980
|
+
- Manual verification items count
|
|
1981
|
+
- Overall recommendation (safe to merge / review / block)
|
|
1982
|
+
- Any blocking issues or critical findings`,
|
|
1983
|
+
conditionalOnSubagent: "team-communicator"
|
|
1984
|
+
},
|
|
1932
1985
|
// Step 15: Documentation Research (conditional inline)
|
|
1933
1986
|
{
|
|
1934
1987
|
inline: true,
|
|
@@ -2056,7 +2109,7 @@ A successful verification includes:
|
|
|
2056
2109
|
}
|
|
2057
2110
|
],
|
|
2058
2111
|
requiredSubagents: ["test-runner", "test-debugger-fixer"],
|
|
2059
|
-
optionalSubagents: ["documentation-researcher", "issue-tracker", "team-communicator", "changelog-historian"],
|
|
2112
|
+
optionalSubagents: ["documentation-researcher", "issue-tracker", "team-communicator", "changelog-historian", "test-code-generator"],
|
|
2060
2113
|
dependentTasks: []
|
|
2061
2114
|
};
|
|
2062
2115
|
|