Skip to content

Commit

Permalink
fix(amazonq): update capability card text for /test (#5398)
Browse files Browse the repository at this point in the history
* Consistent copy for /test capability card

* changelog

---------

Co-authored-by: Sam Stewart <[email protected]>
  • Loading branch information
chungjac and samgst-amazon authored Feb 25, 2025
1 parent 92ceccc commit f412e83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "/test: update capability card text"
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ interface MessageData {

function getIntroductionCardContent(): IntroductionCardContentType {
const introductionBody = [
"I can generate unit tests for your active file. ",
"I can generate unit tests for the active file or open project in your IDE.",
"\n\n",
"After you select the functions or methods I should focus on, I will:\n",
"1. Generate unit tests\n",
"2. Place them into relevant test file\n",
"I can do things like:\n",
"- Add unit tests for highlighted functions\n",
"- Generate tests for null and empty inputs\n",
"\n\n",
"To learn more, check out our [user guide](https://aws.amazon.com/q/developer/)."
"To learn more, visit the [Amazon Q Developer User Guide](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/test-generation.html)."
].join("");

return {
title: "/test",
description: "Included in your Q Developer subscription",
title: "/test - Unit test generation",
description: "Generate unit tests for selected code",
icon: MynahIcons.CHECK_LIST,
content: {
body: introductionBody
Expand Down

0 comments on commit f412e83

Please sign in to comment.