Linqs builds everything needed by LinqToSql (data context, entities, and database) from object oriented business model definitions.
LINQS Distributed Test Design Pattern
- Requirement
- LINQS requires more distributed tests to ensure it can always working properly on differ seeds (object oriented model definitions assebly).
- The distributed tests are built by distributors from internet and communities.
- A distributed test needs a seed, and serveral files used to compare the results created by LINQS.
- A distributed test should available to use the staffs already done in primary test project, and available to referece a specified version.
- A distributed test should available to work just after a few configure.
- A distributed test should available to change and adjust the tests from primary test project.
- The tests shouldn't controlled programatically but manually.
- Solution
- Use config files (rejected)
- Distributed test could use a configure file to specify seed and exprected result files.
- Could reference a primary test project of specified version.
- Can't modify or fix the content of a test.
- Inheritance mode (implementing)
- Use reserved properties to set seeds and resource providers.
- Can override test methods.
- Only explicit overrided test methods will enabled during test, others will be disabled by default.
- Able to reference to specified version of primary test project.
- Available to build up from project template.
- References
- Seed: Object oriented model definitions asseblies.
- Primary Test Project: The LINQSTest project can be found in source code.
Last edited Sep 28 2008 at 2:07 AM by aldwis, version 6
|
|