[ 
https://issues.jboss.org/browse/RF-12857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765385#comment-12765385
 ] 

Brian Leathem commented on RF-12857:
------------------------------------

I thought we did this already?
                
> Fundamental tests are not run - separate them on the level of JUnit categories
> ------------------------------------------------------------------------------
>
>                 Key: RF-12857
>                 URL: https://issues.jboss.org/browse/RF-12857
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: build/distribution
>    Affects Versions: 5.0.0.Alpha1
>            Reporter: Lukáš Fryč
>            Priority: Critical
>
> After refactoring of Java packages the fundamental tests are not in 
> integration-test-specific packages anymore, which does not allow to filter 
> them effectively: 
> https://github.com/richfaces/richfaces5/blob/659dde9ba1f4e0d9ba912ff3a84dc885433caaf1/pom.xml#L515
> That's why most of the fundamental tests are not run anymore.
> ----
> I suggest to leave this concept and use JUnit Categories instead:
> * categorized tests can be either Smoke, Integration, Failing, etc.
> * un-categorized tests are considered to be unit tests and they are run as 
> part of test run
> ----
> There is proof of concept how JUnit Categories works and how can be used by 
> RichFaces framework modules:
> https://github.com/lfryc/surefire-and-junit-categories
> I suggest to move tests in {{src/test/integration}} to {{src/test/java}}.
> This will imply two things:
> * {{integration-tests}} profile will no longer manage project's dependencies
> * there will be cross-module shared interfaces for categories, e.g.: 
> [Smoke|https://github.com/lfryc/surefire-and-junit-categories/blob/master/src/test/java/category/Smoke.java]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to