ManualOn this page: Recipe - Selectors - Categories RecipeA key concept of csUnit is the recipe. A recipe is basically almost like a project in your favorite IDE. Basically a recipe consists of one or more test assemblies, that is assemblies that contain tests. Furthermore the recipe can contain additional information, e.g. about the categories to be included/excluded in a test run. The csUnit command line is able to read the recipe and execute the tests according to the information in the recipe. From a different perspective the csUnitRunner (the native application) becomes the editor for recipes. SelectorscsUnit uses the concept of selectors to determine the tests to run within a recipe. Remember that a recipe consists of one or more test assemblies. Each of them containing zero or more tests. A selector is basically a piece of logic that determines whether or not a test is included in a test run. An example could be a category selector. It includes/excludes tests based on the selected categories and the categories assigned to the test. Currently csUnit supports the category selector as the only selector type. We have however ideas/plans for additional selectors. CategoriescsUnit supports categorization of tests. Basically this means you and assign categories to tests and test fixtures, and then use that categorization for instance for selecting tests. If you don't like the feature you can safely ignore it and still use csUnit. This is one of the design principles we try to follow wherever possible. If you assign one or more category to a test or a test fixture, please be aware of the following rules:
|
Founded 2001 Sponsors: Sources hosted by |
Copyright © 2002-2007 by Manfred Lange. All rights reserved. Last change:
This site is protected by bot traps.