skale-me / skale

High performance distributed data processing engine

Home Page:https://skale-me.github.io/skale

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add missing tests, refactor testing framework

mvertes opened this issue · comments

Many tests are missing, the current test bed is too cumbersome. Adding new tests is too difficult.
Proposal:

  • migrate from mocha to tape
  • breakdown tests in individual files (see examples/basic as starting point)
  • get rid of local reference
  • make sure context can be reused across separate test files (tape permits this through global vars) for performance reasons