andywer / andywer/pg-listen

Test setup improvement and more tests

Abierto
#7 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
635
Forks
35
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.