sugarlabs / sugar-web

Components for Sugar web activities
Apache License 2.0
13 stars 32 forks source link

karma conf to run unit tests only #108

Closed rogemita closed 10 years ago

rogemita commented 10 years ago

NEXT: osbuild check --fast

rogemita commented 10 years ago
[osbuild sugar-build]$ karma start sugar-web/test/karma-unit.conf.js 
Type Shift-Alt-Q inside sugar to close.
INFO [karma]: Karma v0.10.9 server started at http://localhost:9876/
INFO [launcher]: Starting browser /home/broot/sugar-build/build/out/install/bin/sugar-web-test
INFO [Safari 0.0.0 (Mac OS X)]: Connected on socket dkE7Y_P8-up8nS-nI8zL
Safari 0.0.0 (Mac OS X): Executed 27 of 27 SUCCESS (1.112 secs / 0.31 secs)
[osbuild sugar-build]$ karma start sugar-web/test/karma.conf.js      
Type Shift-Alt-Q inside sugar to close.
INFO [karma]: Karma v0.10.9 server started at http://localhost:9876/
INFO [launcher]: Starting browser /home/broot/sugar-build/build/out/install/bin/sugar-web-test
INFO [Safari 0.0.0 (Mac OS X)]: Connected on socket 12VC-M4dIexKTxqGJI9a
Safari 0.0.0 (Mac OS X): Executed 34 of 34 SUCCESS (5.589 secs / 4.021 secs)
code-sur commented 10 years ago

I want to avoid duplicating the shared part of this list.

+1

propose make 3 files:

I'd rather:

rogemita commented 10 years ago

karma-shared karma-unit karma.conf: with all the tests. to avoid patching osbuild check right now.

@code-sur right

dnarvaez commented 10 years ago

Yup sounds good to me.

dnarvaez commented 10 years ago

Closing since it needs work.

rogemita commented 10 years ago

https://github.com/sugarlabs/sugar-web/pull/109