Test Cases

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Test Cases

Vinu Varghese-2
Hi all,

 I have a special case, in which I am writing a component in ofbiz - in
hot deploy - it has some services, and junit test cases for that. Is
there an option with which I can only run the test cases in my component
and view the results. Currently I am using 'run-tests', but it runs all
tests in the ofbiz.

regards
Vinu
 

--
........................................
<signature>
   <full-name> Vinu Varghese </full-name>
   <company-email> [hidden email] </company-email>
   <company-website> www.x-minds.org </company-website>
   <big-words>
    Success always occurs in private, and failure in full view.
    </big-words>
   <company-name-big>
\/      ._ _   o  ._    _|   _
/\  ~~  | | |  |  | |  (_|  _\                                                        
    </company-name-big>
</signature>

Reply | Threaded
Open this post in threaded view
|

Re: Test Cases

Pranay Pandey-2
Hello Vinu,

Following should help you:

java -jar ofbiz.jar tests component=XXX


--
Pranay

On Feb 19, 2009, at 1:23 PM, Vinu Varghese wrote:

> Hi all,
>
> I have a special case, in which I am writing a component in ofbiz -  
> in hot deploy - it has some services, and junit test cases for that.  
> Is there an option with which I can only run the test cases in my  
> component and view the results. Currently I am using 'run-tests',  
> but it runs all tests in the ofbiz.
>
> regards
> Vinu
>
> --
> ........................................
> <signature>
>  <full-name> Vinu Varghese </full-name>
>  <company-email> [hidden email] </company-email>
>  <company-website> www.x-minds.org </company-website>
>  <big-words>
>   Success always occurs in private, and failure in full view.
>   </big-words>
>  <company-name-big>
> \/      ._ _   o  ._    _|   _
> /\  ~~  | | |  |  | |  (_|  _
> \                                                            </
> company-name-big>
> </signature>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Test Cases

Vinu Varghese-2
Thank you Pranay .. It worked  :-)

........................................
<signature>
   <full-name> Vinu Varghese </full-name>
   <company-email> [hidden email] </company-email>
   <company-website> www.x-minds.org </company-website>
   <big-words>
    Success always occurs in private, and failure in full view.
    </big-words>
   <company-name-big>
\/      ._ _   o  ._    _|   _
/\  ~~  | | |  |  | |  (_|  _\                                                        
    </company-name-big>
</signature>



Pranay Pandey wrote:

> Hello Vinu,
>
> Following should help you:
>
> java -jar ofbiz.jar tests component=XXX
>
>
> --
> Pranay
>
> On Feb 19, 2009, at 1:23 PM, Vinu Varghese wrote:
>
>> Hi all,
>>
>> I have a special case, in which I am writing a component in ofbiz -
>> in hot deploy - it has some services, and junit test cases for that.
>> Is there an option with which I can only run the test cases in my
>> component and view the results. Currently I am using 'run-tests', but
>> it runs all tests in the ofbiz.
>>
>> regards
>> Vinu
>>
>> --
>> ........................................
>> <signature>
>>  <full-name> Vinu Varghese </full-name>
>>  <company-email> [hidden email] </company-email>
>>  <company-website> www.x-minds.org </company-website>
>>  <big-words>
>>   Success always occurs in private, and failure in full view.
>>   </big-words>
>>  <company-name-big>
>> \/      ._ _   o  ._    _|   _
>> /\  ~~  | | |  |  | |  (_|  
>> _\                                                            
>> </company-name-big>
>> </signature>
>>
>