gumroad / shortest

https://shortest-seven.vercel.app
MIT License
50 stars 6 forks source link

Write new tests #5

Closed slavingia closed 3 days ago

slavingia commented 6 days ago
  1. Determines test files to update:

Analyzing PR diff...

Get PR diff Get spec folder structure via REGEX per repo Get tests most likely to need updating

Prompt: Consider if there are any entirely new tests to write (due to new files, pages, components, etc)

  1. Update tests:

Return as [] of TestFiles

Updating tests...

[ ] show_files.spec [new]

''' ... '''

...

(Streaming)

Commit files to GitHub

Determining test files to update...

Get PR diff Get failing tests Update test files

Update code via commit

Get PR diff Get failing tests

Update code via commit