myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "AutomatedWebappTestsAPI" by GerhardPetracek
Date Sun, 20 Jun 2010 21:22:18 GMT
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

Mime
View raw message