logoalt Hacker News

prakashrjlast Tuesday at 9:02 PM2 repliesview on HN

This is how I test my code currently.

  1. Backend unit tests — fast in-memory tests that run the full suite in ~5 seconds on every save.                                                                 
  2. Full end-to-end tests — automated UI tests that spin up a real cloud server, run through the entire user journey (provision → connect → manage → teardown), and
   verify the app behaves correctly on all supported platforms (phone, tablet, desktop).                                                                            
  3. Screenshot regression tests — every E2E run captures named screenshots and diffs them against saved baselines. Any unintended UI change gets caught            
  automatically.

Replies

indigodaddylast Tuesday at 10:22 PM

Check out exe.dev/Shelley web agent it facilitates much of what you describe by default.

show 1 reply
rsoto2yesterday at 2:34 PM

sounds like your only measure of good tests is how quickly the llm can produce and run them. not a good metric.

LOL screenshot regression. You're still not a dev buddy read some books