cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From B Prakash <bpr...@hotmail.com>
Subject Re: Help with JUnits
Date Tue, 19 Jan 2016 07:45:48 GMT
Thanks Mike, I read through the link and also saw the video, this answers part of my question
about executing the unit tests.  The other part of the questions still remains ie were are
junits written in Java for this class and operation UserVmManagerImpl.commitUserVm.  

How do we check the junit coverage for a particular class and implementation in it?  Where
do I start looking for them and confirm if they exist?

________________________________________
From: Mike Tutkowski <mike.tutkowski@solidfire.com>
Sent: Monday, January 18, 2016 11:51 PM
To: dev@cloudstack.apache.org
Subject: Re: Help with JUnits

Here's a video of a presentation I gave about Marvin (from CloudStack Days
in Austin last year):

https://www.youtube.com/watch?v=N_eKBA_TeOs

On Mon, Jan 18, 2016 at 9:49 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Does this help?
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python
>
> On Mon, Jan 18, 2016 at 8:56 PM, B Prakash <bprakg@hotmail.com> wrote:
>
>> Hi,
>>
>>
>>     Please can someone help me with identifying and amending junits for
>> UserVmManagerImpl.commitUserVm?  I see a test class called
>> UserVmManagerTest but I dont see a good junits coverage here.  Also link in
>> the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt give
>> out lot of details on junits.
>>
>>   1.  Am I looking at the right place for junits for the class
>> UserVmManagerImpl.commitUserVm?
>>   2.  Is there any other link that provides more details on JUnits?
>>   3.  Any document or resource explaing cloudstack JUnit implementation
>> in greater detail would be of great help.
>>   4.  If I want to track junit of this class, how do I track and execute
>> them?
>>
>>
>> Regards,
>>
>> Prakash
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Mime
View raw message