Right now e2e tests require users to set up their own server to serve their website, and we treat it as a black box. It would be nice if we had a default solution that did something useful. We should also have a way to integrate with their existing server.
If we don't treat the server as a black box, we can do a lot of cool features like:
code coverage that maps to your file system
nice error message stack traces
intelligently re-running tests when files are changed
compiling your code for you just in time
find your source maps for error locations
The integration would be in the form of a function that takes a localhost url and returns the path to the file on disk which it maps to.
Right now e2e tests require users to set up their own server to serve their website, and we treat it as a black box. It would be nice if we had a default solution that did something useful. We should also have a way to integrate with their existing server.
If we don't treat the server as a black box, we can do a lot of cool features like:
The integration would be in the form of a function that takes a localhost url and returns the path to the file on disk which it maps to.