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

Script to generate user test cases #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stavares843
Copy link

How to use:

  • python3 auto_test_case_generation.py

it prompts

Please enter the feature description:
Please enter the number of test cases to generate:

then returns

Captura de ecrã 2023-05-08, às 20 41 13

FYI: Atm the script only generates random words based on the input added by the user, not really generating proper test cases.

@abrichr
Copy link
Contributor

abrichr commented Jul 20, 2023

Thank you @stavares843 !

FYI: Atm the script only generates random words based on the input added by the user, not really generating proper test cases.

I think what we need for this to truly shine is to feed the results into a code interpreter or static analyzer for evaluation, and complete the loop by sending the output of this step back into the prompt, and looping this process until the generated code performs as intended.

What do you think?

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.

2 participants