andywer / andywer/pg-listen

Test setup improvement and more tests

Aperta
#7 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
635
Fork
35
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

This module has very little tests or no tests at all for some scenarios. There is need for movement from "production tested" to improved test system.
I think that this module needs following tests

Module promises:
- Module promises reconnection and Error handling. **no tests**
- Tests for continuous health checks. **no tests**
- Proper error handling **very little tests**

Other tests could be:
- "Stress testing". Trigger hundreds or thousands events in Postgres db and handle events
- Test for module imports (commonjs, es6 import)
- listen many channels with single subscriber

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.