or like in typelex i whipped up a simple DSL for testing all features of the CLI in a few minutes tangled.org/danabra.mov/... if you know what youโ€™re doing, you have no excuse skipping good tests now. theyโ€™re cheap to make and add a ton of value. and cheap to evolve
my point is that normally in a project i wouldnโ€™t even bother with these powerful harnesses because creating them involves a lot of thinking and iterating on their design is very annoying but with llms you just steer them a few times or ask to port entire suite to a new format etc. itโ€™s easy
or have a look at this setup in sidetrail tests are declarative and can emit lexicon records tangled.org/danabra.mov/... but behind the scenes the test harness actually even verifies eventual consistency of optimistic DB writes vs firehose ingester tangled.org/danabra.mov/... tangled.org/danabra.mov/si...
ok that doesnโ€™t seem very clever does it? just a few DOM assertions? actually no! itโ€™s using helpers that are packed with invariants about how ui elements progress over time, whatโ€™s allowed to update in what order, what should match what i explained these to claude github.com/gaearon/rsce... github.com/gaearon/rscexp...
i mean have a look at this beauty. this is literally stepping through the rscexplorer.dev?s=pagination example and asserting on what the user sees. completely declarative github.com/gaearon/rsce... github.com/gaearon/rscexp...
i wrote about my new hobby project overreacted.io/introducing-... Introducing RSC Explorer โ€” ove...
the embed button in particular now gives you simple iframe (html or jsx) so it should be easy to put into articles now