Skip to content

Conversation

@laileni-aws
Copy link
Contributor

@laileni-aws laileni-aws commented Feb 11, 2025

Problem

  • If user tries to run /test on the test file, Q considers test file as source file and starts the test generation on the test file.

Solution

  • If user tries to run /test on the test file, Q infers the context from the original source file and generate tests accordingly.
  • No change in functionality, minor change in UX filename.

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.
  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@laileni-aws laileni-aws changed the title fix(amazonq): If user tries /test on test file, display source file name in the short answer. fix(amazonq): If user tries /test on a test file, Identify test file and subsequently inferring source file. Feb 11, 2025
@laileni-aws laileni-aws changed the title fix(amazonq): If user tries /test on a test file, Identify test file and subsequently inferring source file. fix(amazonq): If user tries /test on a test file, Identify test file and inferring source file. Feb 11, 2025
@laileni-aws laileni-aws changed the title fix(amazonq): If user tries /test on a test file, Identify test file and inferring source file. fix(amazonq): Q infers source file from active test file for test generation. Feb 11, 2025
@laileni-aws laileni-aws changed the title fix(amazonq): Q infers source file from active test file for test generation. fix(amazonq): Q infers source file from active test file for UTG. Feb 11, 2025
@laileni-aws laileni-aws marked this pull request as ready for review February 11, 2025 01:45
@laileni-aws laileni-aws requested review from a team as code owners February 11, 2025 01:45
@jpinkney-aws jpinkney-aws merged commit 08bedbc into aws:master Feb 11, 2025
9 of 17 checks passed
@laileni-aws laileni-aws deleted the testGen-88 branch February 11, 2025 17:24
s7ab059789 pushed a commit to s7ab059789/aws-toolkit-vscode that referenced this pull request Feb 19, 2025
…s#6549)

## Problem
- If user tries to run `/test` on the test file, Q considers test file
as source file and starts the test generation on the test file.

## Solution
- If user tries to run `/test` on the test file, Q infers the context
from the original source file and generate tests accordingly.
- No change in functionality, minor change in UX filename.

---

- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants