Testing the Mashlets/Apps.

srknori
User offline. Last seen 17 weeks 5 days ago. Offline
Joined: 03/11/2011
Points: 10

 I'm so far unsuccessful in finding the information about unit testing  for the mashlets/apps.  My apps will use jsframeworks such as jquery/extjs. I would like to create tests and factor them into maven build.  Any pointer towards any documentation/links/suggestions will be highly appreciated.

Thanks in advance.

 

 

0
Your rating: None
smitchell
smitchell's picture
User offline. Last seen 2 weeks 5 days ago. Offline
Joined: 08/29/2008
Points: 34

I don't have anything in documentation (at least not yet), although this question has come up lately from other sources. I'm assuming you are talking about custom Apps in 3.0+ that use jQuery or ExtJS. I'm not familiar with Maven, but I believe the basic idea is to code the App in your development environment using your standard tools, code management, etc. As part of the build process, you can deploy the App (a simple copy, generally) to the same application server as the Mashup Server for your development environment. Tests can then run against the deployed App.

Once you import the App back into Presto, you either need to set up policies that updates to the App all happen in your development environment only (going thru your standard process), or if you do update the App in Presto Hub using the App Editor, you may need to download it back into your development environment for testing.

Sara, technical writer/jackbe