Difference between revisions of "AppSuite:RunTests"

(Running the test)
Line 4: Line 4:
 
__TOC__
 
__TOC__
  
This article explains the test system of the frontend. It is aimed at developers that want to work with the frontend, be it creating new plugins or applications or modifying existing code using BDD. Bringing a BDD testing infrastructure to the frontend is still a work in progress and subject to (breaking) changes.
+
This article explains the test system of the frontend. It is aimed at developers that want to work with the frontend, be it creating new plugins or applications or modifying existing code using BDD. Bringing a BDD testing infrastructure to the frontend is still a work in progress and subject to (breaking) changes. Please contribute to the stability by reporting any issues or ideas to [[User:J.ohny.b|me]].
  
 
== Libraries ==
 
== Libraries ==

Revision as of 09:50, 17 May 2013

API status: In Development

Running the ui tests

This article explains the test system of the frontend. It is aimed at developers that want to work with the frontend, be it creating new plugins or applications or modifying existing code using BDD. Bringing a BDD testing infrastructure to the frontend is still a work in progress and subject to (breaking) changes. Please contribute to the stability by reporting any issues or ideas to me.

Libraries

Setting up your system

You need at least node version 0.8 to use the latest version of karma, which we need. To install the (latest version of) karma runner, run

   npm install karma@carnary -g

in a shell. You might need admin rights to do that, use sudo if needed.

Running the test

Running the tests is pretty easy.

   git clone https://git.open-xchange.com/git/wd/frontend/web
   cd web/ui
   git checkout -b develop origin/develop
   karma start

After that, open up a browser and point it to http://localhost:9876/.