Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern: Specify how to generate test code #48

Open
yuhattor opened this issue Aug 17, 2023 · 0 comments
Open

Pattern: Specify how to generate test code #48

yuhattor opened this issue Aug 17, 2023 · 0 comments

Comments

@yuhattor
Copy link
Owner

Description

When it comes to testing, specific instructions can be a great way to make sure you're covering all the necessary scenarios. Instead of giving vague instructions like "add unit tests," you can provide concrete details about the testing frameworks and the number of cases you want to generate. This can be helpful in utilizing tools like GitHub Copilot, where specifying "use Junit and Mockito to add unit tests, testing at least 10 variations of valid and invalid input combinations" can yield a more accurate and comprehensive result.

https://www.ai-native.dev/docs/test/specify-test-valiation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Lv2 - Practically Viable Patterns
Development

No branches or pull requests

1 participant