Introduction To Test Api (P&P Summit)

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Notes on slide 1

    Sharing of test code is tricky.If you attempt to share tests, you have to adapt the tests you share to the target test run environment, which is not easy.Tests also tend to have unexpected dependencies, so sharing of tests is tricky even when using the same test execution environment / harness.

    At Microsoft, we have a plethora of small nifty testing tools. These are great for manual or semi-automated use, but are not always easy to integrate with a highly automated testing suite.We also use a number of large tools and harnesses. Some of these have been created to satisfy the needs of specific teams (e.g. Windows, Office) and are not necessarily easy to adopt by other teams with different requirements. VSTS will hopefully solve that problem.

    We provide both conceptual documentation (walking you through the usage of a specific API) as well as MSDN-style API documentation.

    Favorites, Groups & Events

    Introduction To Test Api (P&P Summit) - Presentation Transcript

    1. Introduction to TestApi
      Ivo Manolov
      Test Manager
      WPF
      Microsoft
    2. Sharing of {Test} Code is GOOD
      Reduced duplication of effort
      Higher code quality - through evolution
      Lower maintenance costs
      Deeper, more mature coverage
      Etc, etc, etc(see your favorite book on reuse, patterns, etc.)
    3. Sharing of Tests is TRICKY
      Need to “adapt” tests to environment
      Test environment dictates policy…
      Discovery
      Deployment / Distribution
      Execution
      Logging
      Reporting
      Result aggregation and reporting
    4. Sharing of Tools is TRICKY
      Small tools (command-line EXEs, etc) have challenges:
      Deployment
      Cleanup
      Adaptation (of input / output)
      Upgrades
      SLAs
      Large-scale tools and infrastructure have challenges:
      High adoption cost
      “Proprietary” stacks – extension may be tricky
      “Hosting” costs
      Deployment may be intrusive
      Combining tool parts may not be supported
    5. Well, what CAN we share?
      Automated tests ARE programs
      Programs CONSIST OF reusable blocks + domain-specific logic + configuration data.
      We can share the blocks!
    6. Enter TestApi…
    7. TestApi is…
      An API library
      Provides data-structures and algorithms common to testing
      Fully documented
      Layered
      Easy to deploy (xcopy)
      Policy-free
      It’s just a set of DLLs you link to
      We have xUnit, NUnit, MSTEST samples
      Licensed under Ms-PL (shared source)
    8. TestApi is notgoing to…
      tell you what a test is
      tell you how to test
      make a test pass/fail decision for you
      tell you how to log
      make implicit assumptions
      integrate with your tools (VS, etc.)
      retain execution state
      VSTS will help you solve most of these problems!
    9. A Lap Around TestApi
    10. Package
      http://codeplex.com/testapi
      The ZIP contains…
      Binaries
      Sources
      Documentation
      Samples
    11. Visual Verification API
    12. Input Simulation API
    13. Combinatorial Variation Generation API
    14. Managed Code Fault Injection API
    15. Other API & Future
      Application Control API
      Command-line Parsing API
      Text String Generation API
      Memory Leak Detection API
      Object Comparison API
      Fuzzing API
      … and more
      For a roadmap, see http://codeplex.com/testapi
    16. In Closing…
      TestApi enables rapid test development and code reuse at the building block level. Think of it as a testing SDK.
      Democratic use of facilities – no strings attached. Combine with your favorite tool (VSTS, etc.)
      Layered, decoupled
      Public
      Get engaged!
      testapi@microsoft.com
      ivom@microsoft.com

    + ivom1234ivom1234, 1 month ago

    custom

    373 views, 0 favs, 1 embeds more stats

    TestApi is a library providing types, data-structur more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 373
      • 195 on SlideShare
      • 178 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 4
    Most viewed embeds
    • 178 views on http://blogs.msdn.com

    more

    All embeds
    • 178 views on http://blogs.msdn.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories