anti-work / shortest

Have AI write and update tests for you
https://shortest.com
MIT License
187 stars 21 forks source link

Write new tests #5

Closed slavingia closed 2 months ago

slavingia commented 2 months 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