Drawing tests structure cleanup

This commit is contained in:
jdescottes
2014-08-26 08:21:58 +02:00
parent 35d4be5d3e
commit b2ab504422
22 changed files with 21 additions and 20 deletions

View File

@@ -1,15 +1,5 @@
(function () {
var tests = [
"pen.drawing.json",
"color.picker.json",
"frames.fun.json",
"layers.fun.json",
"move.json",
"pen.secondary.color.json",
"squares.circles.json",
"stroke.json",
"verticalpen.drawing.json"
];
var tests = require('./test/drawing/DrawingTests.casper.js').tests;
var baseUrl = casper.cli.get('baseUrl')+"?debug";
var resultSelector = '#drawing-test-result';
@@ -17,7 +7,7 @@
casper.start();
var runTest = function (index) {
var test = 'integration/casperjs/drawing-records/' + tests[index];
var test = 'drawing/tests/' + tests[index];
casper.open(baseUrl + "&test-run=" + test);

View File

@@ -1,4 +1,4 @@
{ "tests" : [
{"tests" : [
"pen.drawing.json",
"bucket.drawing.json",
"color.picker.json",

View File

@@ -0,0 +1,11 @@
(typeof exports != "undefined" ? exports : pskl_exports).tests = [
"pen.drawing.json",
"color.picker.json",
"frames.fun.json",
"layers.fun.json",
"move.json",
"pen.secondary.color.json",
"squares.circles.json",
"stroke.json",
"verticalpen.drawing.json"
];