This is incredibly true. Testing libraries have not kept up with changes to JavaScript and web dev in general.
I long for a test runner that does as little magic as possible, doesn't try to be a build system and module loader, doesn't inject random libraries into the environment, it just loads URLs and reports back test results.
Test runners and assert libraries can massively slim down too if they because simple importable modules and don't modify the global environment or create plug-in systems or complex test lifecycles. Tests are async functions that resolve or reject, that's it.
I’ve used TAP and nodeTAP and always ran in to some problems. Then I gave AVA a try. Makes a pretty decent impression, though I have never used it in production.
It’s simple enough, fast, and I have yet to run head-first in to some problem.
I long for a test runner that does as little magic as possible, doesn't try to be a build system and module loader, doesn't inject random libraries into the environment, it just loads URLs and reports back test results.
Test runners and assert libraries can massively slim down too if they because simple importable modules and don't modify the global environment or create plug-in systems or complex test lifecycles. Tests are async functions that resolve or reject, that's it.