Hi If you want to use annotations, to categorise your tests, then consider using TestNG. (see http://testng.org/doc/). This allows you to put a test in multiple groups.
If you are using maven for your build process, then there are a few issues with TestNG (and also JUnit 4), but I don't think this will be a problem with Appfuse 1.9.4. Nick Ach wrote: > > Appfuse 1.9.4 JSF flavor. > > > Matt Raible-3 wrote: >> >> Which version of AppFuse are you using? >> >> On 1/23/07, Ach <[EMAIL PROTECTED]> wrote: >>> >>> Hi friends, >>> I decided to categorize my tests into 4 not necessarily disjoint sets: >>> >>> 1. unit tests : Quicky unit tests >>> 2. slow tests: unit tests that does not run enough fast for continuous >>> builds >>> 3. acceptance tests >>> 4. all tests: Including all categories I mentioned before. >>> >>> Now what is the best way to define these categorization in your >>> opinion? >>> some options may be: >>> >>> 1. different folders for each one >>> 2. differentiation in names (e.g. MyClassSlowTest or >>> MyClassAcceptanceTest >>> ....) >>> 3. using annotations in source to specify each category (e.g. @slow >>> says >>> to ant that this is not a needed tests in run-fast-unit-tests target...) >>> 4. using a properties/config file (Oh I should remember to edit this >>> each >>> time I add a test, sough) >>> 5. a combination of some of the above ways!!! >>> >>> Now please share your valuable opinions with me. Your notes are so >>> appreciated :) >>> -- >>> View this message in context: >>> http://www.nabble.com/How-to-categorize-my-tests--tf3064269s2369.html#a8522144 >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> -- >> http://raibledesigns.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/How-to-categorize-my-tests--tf3064269s2369.html#a8560246 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
