6 ms·
Ava – Simple concurrent test runner
- sorhussindre 11y agoNo more mocha, tape, Qunit, intern, Jasmine, Unit.js, Sinon, Buster, Chai or Wallaby.js. This is the best.
- krapp 11y agohttps://xkcd.com/927/ https://xkcd.com/927/
- sorhussindre 11y agoYes, but this is the one.
- Tomte 11y agoAn "opinionated" framework cannot – by definition – "rule them all".
- sorhussindre 11y agoWell, it's trending already ^^
- tantalor 11y ago> atomic tests, meaning tests that don't depend on global state or the state of other tests We normally call this "hermetic", not "atomic".
- geoelectric 11y agoTest automation professional here. "Hermetic" means not relying on the performance of resources not under test, such as an external server. You get away from that with a combo of test doubles, fake servers, or real servers running on test localhost/cluster and strictly under that machine's control. "Atomic" isn't really a standard term in testing as much as "hermetic" is (though I haven't heard "hermetic" much either until recently when Google Testing Blog started popularizing it). Edit: googling "atomic unit test" shows that it's used more widely than I thought. But generally, just by what "atomic" means (stands alone), I would interpret that to mean not sharing state between tests--i.e. nothing where the last test creates your fixture and your next test uses it, or multiple tests together form a sequenced scenario. QUnit uses it that way too, for example: https://qunitjs.com/cookbook/#keeping-tests-atomic https://qunitjs.com/cookbook/#keeping-tests-atomic Of course, your group might normally call that "hermetic," but you'd be out of step with most others.
- beckler 11y agoI think a smarter solution would be to build a test runner that can run every .js testing framework. Creating "yet another javascript framework" isn't really progressing the industry in any way.
- andrewmcwatters 11y agoWhat does Sindre Sorhus actually make besides those two iPhone apps he put on the app store? He's a widely seen name in JS open source, but if you only write tiny bits of software here and there to help other people write software, are you really making anything, or just making the process a bigger pain?
- sorhussindre 11y agoHe's the cure for cancer. Now seriously, look at my number of stars and followers.
- andrewmcwatters 11y agoThere's no doubt you have an impressive number of stars and followers, but you're "involved" with so many projects, I don't know what you actually do besides pal around open source JS people. You're also among what seems to be a small number of smug JS open source people who make it a point to tell people how smug/zany/unique you are on the Internet. From my point of view, you've just snowballed your name into the open source community and continue to do so by releasing "revolutionary" one-off small projects that basically utilize one core API feature in a way no one else has before, and associate with people who have larger open source projects than you. It also doesn't help that any interviews covering you don't really say anything at all.
- dang 11y agoPersonal attacks are not allowed on HN, even when you don't think much of someone's work.
- spleeder 11y agoI actually admire Sindre for his great contributions to the JS ecosystem. Keep up the good work!