Skip to content

Test guidelines

Julian Descottes edited this page Aug 25, 2014 · 9 revisions

Piskel currently uses 2 testing solutions :

  • unit tests with Karma runner / Jasmine
  • drawing tests (integration tests for drawing tools) with a custom record/replay utility

We would also like to use Selenium for additional integration/ui testing. It seems for now Piskel is incompatible with Selenium (can't detect the page load event).

Unit tests

Unit tests are written using the Jasmine testing framework : http://jasmine.github.io/. They are executed using Karma runner : http://karma-runner.github.io/.

The configuration file for Karma can be found at the root of the project : /karma.conf.js

Clone this wiki locally