kitematic/TESTING.md

857 B

Kitematic Testing

Unit Tests

Simply run npm test

Integration Tests

Coming Soon

Manual Setup Tests

These tests only need to be run if code in src/SetupStore.js or src/Setup.react.js are changed.

The expected result for all test cases is that the setup finishes and an HTML container can be created, Also check that there are no errors in the output of Kitematic.

Test Cases

Clean state: run __tests__/util/reset. WARNING: This will erase your existing VirtualBox, Docker & Kitematic installation.

  • Clean state
  • Clean state with an old version of VirtualBox installed and running 4.3.0<
  • Clean state with VirtualBox installed 4.3.18+
  • Clean state with an old Boot2Docker VM & installation 0.12+
  • Clean state with the latest Boot2Docker VM & installation
  • FAILING Clean state with an aborted Boot2Docker VM