How to test the embedded OFBiz class

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

How to test the embedded OFBiz class

Schumann
Dear Gurus, Dear Jacques,

I’ve got a quick question for you guys.
How can I test/debug the embedded OFBiz class, for example, PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test”?

I tried Junit but failed.
May you pls elaborate the steps to do it?

Have a nice day!
Schumann
Reply | Threaded
Open this post in threaded view
|

Re: How to test the embedded OFBiz class

Jacques Le Roux
Administrator
Hi Schumann,

Please check

https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse

https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Intellij+IDEA

depending on your preferred IDE

HTH

Jacques

Le 14/02/2019 à 13:54, Schumann Ye a écrit :

> Dear Gurus, Dear Jacques,
>
> I’ve got a quick question for you guys.
> How can I test/debug the embedded OFBiz class, for example, PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test”?
>
> I tried Junit but failed.
> May you pls elaborate the steps to do it?
>
> Have a nice day!
> Schumann
>
Reply | Threaded
Open this post in threaded view
|

回复:How to test the embedded OFBiz class

Schumann
Hi Jacques,

I have done the settings with Eclipse successfully.
Sorry that I didn't put my question more clearly. My question was how could I run the test with it, taking
PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test” as an example?

If you pls have a look at the java file you would know what I mean to test?

Many Thanks!
Schumann


-------- 原始邮件 --------
主题:Re: How to test the embedded OFBiz class
发件人:Jacques Le Roux
收件人:[hidden email]
抄送:

Hi Schumann,

Please check

https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse

https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Intellij+IDEA

depending on your preferred IDE

HTH

Jacques

Le 14/02/2019 à 13:54, Schumann Ye a écrit :

> Dear Gurus, Dear Jacques,
>
> I’ve got a quick question for you guys.
> How can I test/debug the embedded OFBiz class, for example, PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test”?
>
> I tried Junit but failed.
> May you pls elaborate the steps to do it?
>
> Have a nice day!
> Schumann
>
Reply | Threaded
Open this post in threaded view
|

Re: 回复:How to test the embedded OFBiz class

Jacques Le Roux
Administrator
Hi Schumann,

You don't need to send me personal emails. I can see them on the user ML and answer from there, thanks.

Yes I also misread (actually too fast) your question and thought about that before you send your email.

Actually the answer is easy, you can find it in the main README.adoc:

gradlew "ofbizDebug --test"

HTH

Jacques

Le 14/02/2019 à 16:18, Schumann Ye a écrit :

> Hi Jacques,
>
> I have done the settings with Eclipse successfully.
> Sorry that I didn't put my question more clearly. My question was how could I run the test with it, taking
> PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test” as an example?
>
> If you pls have a look at the java file you would know what I mean to test?
>
> Many Thanks!
> Schumann
>
>
> -------- 原始邮件 --------
> 主题:Re: How to test the embedded OFBiz class
> 发件人:Jacques Le Roux
> 收件人:[hidden email]
> 抄送:
>
> Hi Schumann,
>
> Please check
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Intellij+IDEA
>
> depending on your preferred IDE
>
> HTH
>
> Jacques
>
> Le 14/02/2019 à 13:54, Schumann Ye a écrit :
>> Dear Gurus, Dear Jacques,
>>
>> I’ve got a quick question for you guys.
>> How can I test/debug the embedded OFBiz class, for example, PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test”?
>>
>> I tried Junit but failed.
>> May you pls elaborate the steps to do it?
>>
>> Have a nice day!
>> Schumann
>>
Reply | Threaded
Open this post in threaded view
|

回复:回复:How to test the embedded OFBi =?UTF-8?Q?z_class

Schumann
Dear Jacques,

Many thanks for your help.

Schumann


-------- 原始邮件 --------
主题:Re: 回复:How to test the embedded OFBi =?UTF-8?Q?z_class
发件人:Jacques Le Roux
收件人:[hidden email],Schumann Ye
抄送:

Hi Schumann,

You don't need to send me personal emails. I can see them on the user ML and answer from there, thanks.

Yes I also misread (actually too fast) your question and thought about that before you send your email.

Actually the answer is easy, you can find it in the main README.adoc:

gradlew "ofbizDebug --test"

HTH

Jacques

Le 14/02/2019 à 16:18, Schumann Ye a écrit :

> Hi Jacques,
>
> I have done the settings with Eclipse successfully.
> Sorry that I didn't put my question more clearly. My question was how could I run the test with it, taking
> PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test” as an example?
>
> If you pls have a look at the java file you would know what I mean to test?
>
> Many Thanks!
> Schumann
>
>
> -------- 原始邮件 --------
> 主题:Re: How to test the embedded OFBiz class
> 发件人:Jacques Le Roux
> 收件人:[hidden email]
> 抄送:
>
> Hi Schumann,
>
> Please check
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Intellij+IDEA
>
> depending on your preferred IDE
>
> HTH
>
> Jacques
>
> Le 14/02/2019 à 13:54, Schumann Ye a écrit :
>> Dear Gurus, Dear Jacques,
>>
>> I’ve got a quick question for you guys.
>> How can I test/debug the embedded OFBiz class, for example, PurchaseOrderTest.java under the package “package org.apache.ofbiz.order.test”?
>>
>> I tried Junit but failed.
>> May you pls elaborate the steps to do it?
>>
>> Have a nice day!
>> Schumann
>>