[ 
https://issues.apache.org/jira/browse/OFBIZ-13338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052167#comment-18052167
 ] 

Gaetan Chaboussie commented on OFBIZ-13338:
-------------------------------------------

After some research, it seems that the annotation is the current best practice 
recommended by JUnit >= 4.
The parent class for tests looks to be a bit deprecated. Sorry for the noise, 
i'm closing the issue.

> Create a base test class for unit tests
> ---------------------------------------
>
>                 Key: OFBIZ-13338
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13338
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Upcoming Branch
>            Reporter: Gaetan Chaboussie
>            Priority: Minor
>
> IMO the framework needs a base test class (different from OFBizTestCase) for 
> tests like the ModelServiceTest.
> We could also use this base class for tests like FlexibleStringExpanderTests.
> Something like OFBizBaseUnitTest, without a delegator, or maybe only a 
> mockito one.
> This would allow to remove the explicit groovy test sources in build.gradle 
> file, and the use of junit.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to