Tests
To prevent regressions, we should look into creating tests for neochat. Some thoughts by me:
- Unit tests should be easy to do
- Integration tests will be somewhat difficult since we need some kind of homeserver for it, which leads to the following options:
- Emulating a homeserver by serving a bunch of (more or less) static json data from a python script. Would be easy enough for basic tests, but could get unmanageable for more complicated test
- Hosting a real homeserver backed by an sqlite database
- Using an existing homeserver. Test results would probably not be very reproducible and would be slow.
- Something for UI testing