End-to-end tests are located in the
This command builds and executes the e2e tests. If you modify a file and save it, the code is rebuilt and the tests are run again. This is particularly useful in development: you do not need to re-run the command every time you make code changes.
The process runs forever until you stop it.
If you need to build and run the tests only once, you can use these two commands:
These commands are particularly useful when you want to integrate your tests into a CI pipeline or a Git hook.
You can use the SuperTest library to write your e2e tests. It is installed by default.