Sorry for jumping into dev's discussion and for the off-topic, just can't stand 
the desire :)

>>* The result page kind of look nice (yes, that count!)
When I was looking for a wiki, this was reason number one - and that's how 
XWiki won. Guess it's all about the look and the feel

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Jerome Velociter
Sent: Friday, August 05, 2011 19:55 PM
To: XWiki Developers
Subject: [xwiki-devs] JavaScript unit tests

Hello devs,

I've pushed some javascript tests for the suggest widget to a branch of 
xwiki-platform.

I've used screw-unit (https://github.com/nathansobo/screw-unit) as test 
framework.

The system allow to write tests such as
https://github.com/xwiki/xwiki-platform/blob/f684ca0671a354f1e7476cd788a2df89074a188f/xwiki-platform-core/xwiki-platform-web/src/test/javascript/spec_suggest.js
; and to run them in a test suite (a simple HTML page that runs all tests). It 
is integrated with xwiki-platform-web build so that whenever a test fails, the 
build fails.

To be completely honest, I didn't do a lengthy market research to see if there 
would be more appropriate alternatives. Screw unit got my attention for the 
following reasons :
* Tests are elegant and simple
* You can nest feature "descriptions" (specifications) down several levels, so 
it's easy to have a good organization
* It has a working maven integration
* The result page kind of look nice (yes, that count!)

I'd like to integrate them in master

WDYT ?

My +1

Jerome.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to