"Bombadil" means that I'll probably skip most of these tests.
I especially like that it's a single executable according to the docs.<p>Recently evaluated other testing tools/frameworks and if you're not already running the npm-dependencyhell-shitshow for your projects, most tools will pull in at least 100 dependencies.<p>I might be old fashioned but that's just too much for my taste. I love single-use tools with limited scope like e.g. esbuild or now this.<p>Will give this a try, soon.
I'm a huge fan of property based testing, I've built some runners before, and I think it can be great for UI things too so very happy to see this coming around more.<p>Something I couldn't see was how those examples actually work, there are no actions specified. Do they watch a user, default to randomly hitting the keyboard, neither and you need to specify some actions to take?<p>What about rerunning things?<p>Is there shrinking?<p>edit - a suggestion for examples, have a basic UI hosted on a static page which is broken in a way the test can find. Like a thing with a button that triggers a notification and doesn't actually have a limit of 5 notifications.
Hey, yeah the default specification includes a set of action generators that are picked from randomly. If you write a custom spec you can define your own action generators and their weights.<p>Rerunning things: nothing built for that yet, but I do have some design ideas. Repros are notoriously shaky in testing like this (unless run against a deterministic app, or inside Antithesis), but I think Bombadil should offer best-effort repros if it can at least detect and warn when things diverge.<p>Shrinking: also nothing there yet. I'm experimenting with a state machine inference model as an aid to shrinking. It connects to the prior point about shaky repros, but I'm cautiously optimistic. Because the speed of browser testing isn't great, shrinking is also hard to do within reasonable time bounds.<p>Thanks for the questions and feedback!
Author here, happy to answer questions about Bombadil! :)
Bombadillo Crocodillo<p>Ok I will see myself out<p>(Yes I know it's actually from the Tolkien book)