199 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
The IBM Domino Developer Edition – It’s coming in Q3 – finally ;)
Thu, May 11th 2017 4
Watson Workspace & Work Services needs Code, Code, Code, Community, Code, Code and even more Code and Community….
Fri, Oct 28th 2016 3
Watson Workspace & Work Services needs Code, Code, Code, Community, Code, Code and even more Code and Community….
Fri, Oct 28th 2016 4
XPages Designer Plugin 4 Eclipse – The Basics!
Sat, Apr 2nd 2016 6
XPages Designer Plugin 4 Eclipse – The Basics!
Sat, Apr 2nd 2016 6
Building NSF using the maven headlessdesigner plugin from OpenNTF
Sat, Mar 26th 2016 4
Building NSF using the maven headlessdesigner plugin from OpenNTF
Sat, Mar 26th 2016 4
Top 10
My slides from SNoUG 2015 – Content is in German
Wed, Oct 28th 2015 11
My slides from SNoUG 2015 – Content is in German
Wed, Oct 28th 2015 11
Automated build with Jenkins / Some progress
Mon, Apr 7th 2014 9
A developers dream – for sure
Tue, Dec 1st 2015 8
XWork Server Community Edition
Sat, Feb 1st 2014 7
First Swiss XPages Developer Crowd Day
Fri, Mar 14th 2014 6
Automated building and testing of XPages Applications
Thu, May 1st 2014 6
Currently recovering
Mon, Jul 6th 2015 6
XPages Designer Plugin 4 Eclipse – The Basics!
Sat, Apr 2nd 2016 6
XPages Designer Plugin 4 Eclipse – The Basics!
Sat, Apr 2nd 2016 6


Automated building and testing of XPages Applications
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
Christian Güdemann    

You know that situation? You have done a roll out of a new version of an application and a short while after being in production, there is this call from an angry customer? A bug, fixed in a previous release did re appear in the new release!

How annoying is that. And you ask yourself DID THEY NOT TEST IT? So if you walk to the QA department and ask nicely about “Testing”, what answer would you get? I thinks that’s the moment when you start to think about “Automated Testing”. And automated testing, without an automated build of your application is nice, but only the half way!

To collect all the pieces to make this happen was a part of my mission to go to IBM Ireland and meet the XPages Team in Dublin. And a day after 3 days of hard work with them, it’s time to talk about automated build and testing of XPages application. First the story line and pre requirement:

  • You are working on a XPages Application.
  • The Application is available as on disk project in a SCM (Source Control Managementsysten)
  • You have build some selenium UI Tests

Each night or on every change to your application that is commited to the SCM, you want to have a automated build of the application and the selenium tests should run.

Thanks to the Headless Designer (see this Wiki about), you can create with a command line directly a new NSF. But there is more to do then only executing a command line. You want to be sure that the designer has all required plugins (like OpenNTF Essentials) during the build process. And all of this plugins should also be removed after a build. After the build you want to have the application moved to a test server and the selenium tests should be executed against this application. The whole build process is now covered by a maven plugin. You can see the progress on that on this GitHub project.

The headlessdesigner-maven-plugin covers now the following steps:

  1. Installing defined features to the designer
  2. Enabling defined features in the designer
  3. Build the application from on disk project
  4. Disabling defined features in the designer
  5. Uninstalling of the features
  6. Copy the build NSF to the target directory of the maven project

The following steps are planed for the next 2-3 weeks:

  • Distributing the NSF to the DominoServer
  • Building a archetype plugin to build per command line a new maven project
  • Thinking about distribution of the plugins to a official maven repository

 

 




---------------------
http://guedebyte.wordpress.com/2014/05/01/automated-building-and-testing-of-xpages-applications/
May 01, 2014
7 hits



Recent Blog Posts
4
The IBM Domino Developer Edition – It’s coming in Q3 – finally ;)
Thu, May 11th 2017 4:35p   Christian Guedemann
A
3
Watson Workspace & Work Services needs Code, Code, Code, Community, Code, Code and even more Code and Community….
Fri, Oct 28th 2016 7:51p   Christian Guedemann
A
4
Watson Workspace & Work Services needs Code, Code, Code, Community, Code, Code and even more Code and Community….
Fri, Oct 28th 2016 4:51p   Christian Guedemann
A
6
XPages Designer Plugin 4 Eclipse – The Basics!
Sat, Apr 2nd 2016 4:26p   Christian Guedemann
A
4
Building NSF using the maven headlessdesigner plugin from OpenNTF
Sat, Mar 26th 2016 10:01p   Christian Guedemann
A
1
A developers dream – for sure
Tue, Dec 1st 2015 8:48p   Christian Guedemann
A
4
Another nice journey with Maven – or how to sign a jar file
Thu, Nov 26th 2015 5:53p   Christian Guedemann
A




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition