gobengo / distbin

distributed social pastebin using Activitypub
https://distbin.com
Apache License 2.0
78 stars 8 forks source link

Use a more conventional testing framework #10

Open gobengo opened 6 years ago

gobengo commented 6 years ago

npm test right now uses some simple functions I built myself (in test/index.ts). They're fine, but not conventional. And can be confusing, not to mention limiting when trying to figure out which test is failing.

We should replace it with something like node-tape, mocha, or jest. Probably jest. I haven't used it at scale but seems to be growing in popularity and I think can do nice parallelization.

gobengo commented 5 years ago

I have had good experience with. https://github.com/alsatian-test/alsatian