Run Piwik.js javascript tests on continuous integration #4225

Closed
mattab opened this Issue Oct 17, 2013 · 16 comments

2 participants

@mattab
Piwik Open Source Analytics member

Currently the piwik.js javascript tests are executed manually after changes in the piwik.js

We should execute these tests on the continuous integration platform travis so that we know whenever the piwik.js is impacted.

After this improvement, all our tests will be automated! :)

@mattab
Piwik Open Source Analytics member

In 1dc0e11: Fixing piwik.js tests and JSLint after realizing refs #4225

@mattab
Piwik Open Source Analytics member

In 182e66f: Fixing piwik.js tests and JSLint after realizing refs #4225
(cherry picked from commit 1dc0e11)

@tsteur
Piwik Open Source Analytics member

In 487e542: refs #4225 use latest qunit version (1.12)

@tsteur
Piwik Open Source Analytics member

In c58dffe: refs #4225 added phantomjs testrunner which runs all qunit tests and displays the result as well as returns a proper return code

@tsteur
Piwik Open Source Analytics member

In effabcc: refs #4225 if we are running a testsuite, run the JS tests as well

@tsteur
Piwik Open Source Analytics member

In 9d61e7f: refs #4225 output testname, testmodule and error message in case of a failure

@tsteur
Piwik Open Source Analytics member

In 71bae47: refs #4225 run js tests in a separate group and other after each phpunit test

@tsteur
Piwik Open Source Analytics member

In 27a02ff: refs #4225 run js tests first as they are pretty fast

@tsteur
Piwik Open Source Analytics member

In 942df1d: refs #4225 more detailed error output

@tsteur
Piwik Open Source Analytics member

In 20d4c26: refs #4225 output expected and actual only if set

@tsteur
Piwik Open Source Analytics member

In c85ebdf: refs #4225 output alert messages

@tsteur
Piwik Open Source Analytics member

In bcf5eba: refs #4225 added simple documentation

@tsteur
Piwik Open Source Analytics member

In aebff02: refs #4225 updated documentation

@tsteur
Piwik Open Source Analytics member

In 8bb8fd4: refs #4225 fix js test in PhantomJS, will not work in browser... needs to be resolved. Tests should be green now

@tsteur
Piwik Open Source Analytics member

In 06ac8c0: refs #4225 sort object to make sure we get the same test results on PhantomJS, Webkit and any other browser

@mattab
Piwik Open Source Analytics member

nice new addition to our Quality Assurance process... well done!!

@mattab mattab added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
@tsteur tsteur was assigned by mattab Jul 8, 2014
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@mattab mattab Fixing piwik.js tests and JSLint after realizing refs #4225 1dc0e11
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@mattab mattab Fixing piwik.js tests and JSLint after realizing refs #4225
(cherry picked from commit 1dc0e11)
182e66f
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 use latest qunit version (1.12) 487e542
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 added phantomjs testrunner which runs all qunit tests and …
…displays the result as well as returns a proper return code
c58dffe
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 output testname, testmodule and error message in case of a…
… failure
9d61e7f
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 run js tests in a separate group and other after each phpu…
…nit test
71bae47
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 run js tests first as they are pretty fast 27a02ff
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 more detailed error output 942df1d
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 output expected and actual only if set 20d4c26
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 output alert messages c85ebdf
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 added simple documentation bcf5eba
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 updated documentation aebff02
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 fix js test in PhantomJS, will not work in browser... need…
…s to be resolved. Tests should be green now
8bb8fd4
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4225 sort object to make sure we get the same test results on P…
…hantomJS, Webkit and any other browser
06ac8c0
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment