[opencms-dev] OpenCms and JUnit

Brabenetz, Harald harald.brabenetz at infonova.com
Tue Mar 30 09:07:31 CEST 2010


Sorry for the Line break,

Site:
http://tinyurl.com/ykg882e

Download:
http://tinyurl.com/opencms-testing-SNAPSHOT-8

Regards,
Harald

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Brabenetz, Harald
Sent: Dienstag, 30. März 2010 08:47
To: 'The OpenCms mailing list'
Subject: Re: [opencms-dev] OpenCms and JUnit

Hi,

"Look at the OpenCmsTestcase" is a very good hint.

If you also need a Mock CmsJspActionElement with Mock ServletRequest and
CmsFlexController, look at the library:
http://bp-cms-commons.sourceforge.net/m2site/infonova/opencms-testing/1.0-SN
APSHOT/

At the moment there is only a SNAPSHOT release:
http://bp-cms-commons.sourceforge.net/m2snapshot/at/infonova/opencms/opencms
-testing/1.0-SNAPSHOT/opencms-testing-1.0-20100302.173031-8.jar

The first beta will coming very soon.

Regards,
Harald

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Achim Westermann
Sent: Montag, 29. März 2010 22:16
To: The OpenCms mailing list
Subject: Re: [opencms-dev] OpenCms and JUnit

Hi Robert,

see here: http://mail.opencms.org/pipermail/opencms-dev/2010q1/033949.html

It works, I just do not have the code any more (wrote it at a customer's 
office). So nowadays you may create mocks by annotations.

HTHT,

Achim



Robert Spielmann wrote:
> Hi all,
> 
> simple question: how do you test software components that use OpenCms, 
> specifically 7.5.2? Are there any mock classes around for classics like 
> CmsJspActionElement, CmsObject etc.?
> 
> Regards
> Robert Spielmann
> IT Consultant
> 

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list