-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add automated tests #6
Labels
enhancement
New feature or request
Comments
I got Claude 3.5 Sonnet to write the initial tests: files-to-prompt . --ignore LICENSE | llm -m claude-3.5-sonnet -s 'step by step advice on how to implement automated tests for this, which is hard because the tests need to work within a temporary Django project that lives in the tests/ directory somehow. Provide all code at the end.' Response: https://gist.github.com/simonw/a1c51e3a4f30d91eac4664ba84266ca1#response Then I poked at them with the help of https://pytest-django.readthedocs.io/en/latest/managing_python_path.html until I got them to run. Then I modified them a bit to add some extra assertions. |
simonw
added a commit
that referenced
this issue
Aug 7, 2024
simonw
added a commit
that referenced
this issue
Aug 7, 2024
simonw
added a commit
that referenced
this issue
Aug 7, 2024
simonw
added a commit
to simonw/til
that referenced
this issue
Aug 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: