andywer / andywer/pg-listen

Test setup improvement and more tests

オープン
#7 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
635
フォーク
35
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。