joeri_s@mstdn.social ("Joeri Sebrechts") wrote:
Just saw claude one shot porting a suite of mocha/chai/testing-library unit tests for a vanilla web app to a vanilla runner in about ten minutes. The runner’s code is clean and minimal, the test files look a lot like the mocha version did, and the 135 tests passed on the first try.
I don’t know whether to be happy for vanilla web dev that LLMs are this good at writing that code, or sad that the time of writing code myself is coming to a close.






![try: rresp = requests.get(url, timeout=10) except requests.exceptions.ReadTimeout: print(f"timed out {url}, trying selenium") hdata = "{}" from selenium import webdriver driver = webdriver.Safari() driver.get(url) element = driver.find_element("xpath", "/html") outerhtml: str = element.get_attribute("outerHTML") # type:ignore[no-untyped-call] bdata = outerhtml.encode("utf-8") else: hdata = json.dumps(dict(rresp.headers)) bdata = rresp.content](https://files.mastodon.social/media_attachments/files/116/310/272/849/052/189/original/bdb6f1126ce571a5.png)