Skip to main content

Point Network Testing Guide

Point Network needs to test all levels of the application. This potentially means:

  • Unit Testing of functions and methods using Jest in the Node and Point SDK.
  • Use Factories for creating data in different schemas and contexts using Factory Girl.
  • Integration Testing of different components / modules and services.
  • Browser / Front End integration testing using Nightwatch JS. This can be another form of integration testing for the example applications which ultimately test that the node is working properly for application functionality.
  • Smart Contract Tests using Truffle Testing Framework and Open Zeppelin Testing Framework.
  • Load testing using artillery.io.
  • Database testing making use of test seed data and using a database cleaner to reset the database between tests. Use Factory Girl for creating contextual based data for each test.