<
From version < 47.1 >
edited by Marius Dumitru Florea
on 2015/05/05
To version < 48.1 >
edited by Marius Dumitru Florea
on 2015/05/05
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -66,6 +66,10 @@
66 66  
67 67  See the [[developer's guide>>platform:DevGuide.JavaScriptAPI||anchor="HBridgingcustomXWikieventsbetweenPrototypeandjQuery"]] for more details.
68 68  
69 +== Integration tests for JavaScript with Jasmine + RequireJS + WebJars ==
70 +
71 +Using Jasmine, we have written a few integration tests for JavaScript code that uses AMD (RequireJS) and that has dependencies packaged as Webjars. We found out that the Jasmine Maven Plugin has support for both [[AMD>>http://searls.github.io/jasmine-maven-plugin/amd-support.html]] and [[WebJars>>http://searls.github.io/jasmine-maven-plugin/webjars-support.html]]. You can check out this [[commit>>https://github.com/xwiki/xwiki-platform/commit/a65618beeacb6c36aa5e6de178d7a495b6e18879]] to see how we configured the plugin in case you want to write similar tests for your extension or module.
72 +
69 69  == Deprecated and Retired projects ==
70 70  
71 71  <description of deprecated and retired projects>

Get Connected