You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2010/06/20 23:22:18 UTC

[Myfaces Wiki] Update of "AutomatedWebappTestsAPI" by GerhardPetracek

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The "AutomatedWebappTestsAPI" page has been changed by GerhardPetracek.
http://wiki.apache.org/myfaces/AutomatedWebappTestsAPI?action=diff&rev1=7&rev2=8

--------------------------------------------------

  
  The framework uses a config class to get configuration options like the JSF implementation (MyFaces or Mojarra) and the related version of it. These configuration options will have standard values and will be configurable via System properties (which are very easy to set using maven).
  
+ It should be possible to provide ConfigurationTestSuits.
+ 
+ Example:
+ {{{
+ @ConfigurationTestSuite(testSuite = AllMyFacesTests.class,
+   testConfigurations = {MyFacesJettyConfig.class, MyFacesTomcatConfig.class, MyFacesEmbeddedGlassfishConfig.class})
+ public class AllTestsWithCommonConfigs extends ConfigurationTest
+ {
+ }
+ }}}
+ ... means that all tests bundled by the test-suite AllMyFacesTests should be executed with the given configurations.
+ 
  == Dependencies ==
  
   * JUnit 4.x