Linqs builds everything needed by LinqToSql (data context, entities, and database) from object oriented business model definitions.

LINQS Distributed Test Design Pattern

  1. Requirement
    1. LINQS requires more distributed tests to ensure it can always working properly on differ seeds (object oriented model definitions assebly).
    2. The distributed tests are built by distributors from internet and communities.
    3. A distributed test needs a seed, and serveral files used to compare the results created by LINQS.
    4. A distributed test should available to use the staffs already done in primary test project, and available to referece a specified version.
    5. A distributed test should available to work just after a few configure.
    6. A distributed test should available to change and adjust the tests from primary test project.
    7. The tests shouldn't controlled programatically but manually.
  2. Solution
    1. Use config files (rejected)
      1. Distributed test could use a configure file to specify seed and exprected result files.
      2. Could reference a primary test project of specified version.
      3. Can't modify or fix the content of a test.
    2. Inheritance mode (implementing)
      1. Use reserved properties to set seeds and resource providers.
      2. Can override test methods.
      3. Only explicit overrided test methods will enabled during test, others will be disabled by default.
      4. Able to reference to specified version of primary test project.
      5. Available to build up from project template.
  3. References
    1. Seed: Object oriented model definitions asseblies.
    2. 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
Comments
No comments yet.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | CodePlex Blog | Version 2008.12.9.14291