Create new test runners for `deno` and `node`
Description
Right now, @web/test-runner is primarily for running tests within a chosen browser environment.
How feasible would it be to include a node environment runner and a deno environment runner?
node
Node doesn't support url imports such as import mod from 'https://a.co/file'. This might require additional information to be passed into the test library runner from getConfig since currently only the testFile url is provided.
Each test file would be run within a node worker.
deno
Deno is built to fully mimic the web, and it should just work with the current setup. It's just a case of creating a runner that downloads the binary and runs the tests within the deno environment.
Each test file would be run within a web worker.
Summary
I love the ability to test directly in the browser, but being somewhat lazy, I'd like to use the same tool for unit tests against other environments.
I'm happy to submit a pull request.
what do you mean with "same tool"? 🤔
the default testing "framework" is mocha which you can use directly in node... there is no browser manager (to launch, execute, send back results, ... e.g. what @web/test-runner is) needed...