andywer / andywer/pg-listen

Test setup improvement and more tests

Offen
#7 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
635
Forks
35
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.