pad.pub0.org/tests
Richard Hansen ecdb105bfe server: Refine process lifetime management
Define states and use them to properly handle multiple calls to
`start()`, `stop()`, and `exit()`. (Multiple calls to `exit()` can
happen if there is an uncaught exception or signal during shutdown.)

This should also make it easier to add support for cleanly restarting
the server after a shutdown (for tests or via an `/admin` page).
2021-01-30 08:05:08 +00:00
..
backend server: Refine process lifetime management 2021-01-30 08:05:08 +00:00
container lint: Run `eslint --fix` on `bin/` and `tests/` 2020-11-24 20:06:12 +00:00
frontend tests: Asyncify indentation test 2021-01-29 09:16:50 +00:00
ratelimit lint: Run `eslint --fix` on `bin/` and `tests/` 2020-11-24 20:06:12 +00:00
README.md tests: backend tests are now run with "npm test" instead of a custom bash script 2018-07-28 23:54:51 +02:00

README.md

About this folder: Tests

Before running the tests, start an Etherpad instance on your machine.

Frontend

To run the frontend tests, point your browser to <yourdomainhere>/tests/frontend

Backend

To run the backend tests, run cd src and then npm test