nd4js icon indicating copy to clipboard operation
nd4js copied to clipboard

Automated Testing

Open DirkToewe opened this issue 6 years ago • 1 comments

Testing on different platforms and browsers is a good idea, so is automatically testing pushes and pull requests. Travis CI offers free capacities for open source projects. Setting up automated testing should be one of the next steps for ND4JS.

The following issues with testing need to be fixed first:

  • Testing must be faster
  • Testing must be reproducible (e.g. via seedrandom)

DirkToewe avatar Nov 18 '19 19:11 DirkToewe

Every test is now roughly under 5sec while testing in parallel on a R9 3900X. A reproducible RNG is now supported but not all tests use it yet. The plan is to, step by step, replace Math.random in all unstable tests.

DirkToewe avatar Oct 16 '20 16:10 DirkToewe