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: Writing test cases in natural language first #31

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

Pattern: Writing test cases in natural language first #31

yuhattor opened this issue Aug 17, 2023 · 0 comments

Comments

@yuhattor
Copy link
Owner

Description

When working with AI-powered code generation, like GitHub Copilot, expecting comprehensive test coverage without providing clear context to the AI is challenging. Instead of trying to write the test cases in code at that point, create natural language descriptions first. This will focus on improving the test coverage, ensuring that the generated code meets all the necessary criteria.

https://www.ai-native.dev/docs/test/writing-test-cases-in-natural-language-first

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

No branches or pull requests

1 participant