230 likes | 246 Views
This document outlines the capabilities of Visual Studio 2010 with Dynamics AX for primary and secondary users. Deliverables include functional and non-functional requirements, testing, execution, reporting, and tutorials. Implementation covers user interface, testing, and evaluation modules.
E N D
Visual Studio 2010 Team System Capabilities with Dynamics AX Advisor - Simanta Mitra Client - Shawn Hanson & Dave Froslie (Microsoft) Group - Dec10-08 Ian Dallas Jacob Grimm Yuriy Gritsenko Matt Smith
Plan Problem Users & Use Cases Deliverables Functional Requirements Non-Functional Requirements
Users & Use Cases • Primary User – VS Tester • Works entirely in VS 2010 • Develops requirements & test cases • Executes test cases • Secondary User – AX Developer • Works entirely in Dynamics AX • Develops code • Writes test cases
Deliverables • An executable which can be wrapped by VS Generic Test Case Wrapper which allows users to: • Manage Dynamics AX Tests • Execute Dynamics AX Tests • Report on Dynamics AX Tests • Tutorials which guide users to: • Create a generic test project • Create a generic test case • Create a build • Publish test results to an associated build • View published test results
Functional Requirements • Management • View wrapped AX test suite names within VS • Choose AX test suites to run within VS • Execution • AX test case results displayed in VS • Reporting • Display Error/Fail message normally associated with test cases • Report Pass/Fails • Report number of test cases that were executed • Publish • Store results in TFS for viewing and later retrieval
Non-Functional Requirements • Written in .NET managed code • Tutorials & documentation designed for ease of use • Applicable to any valid Dynamics AX test cases • Takes no more than 10% longer than when run in Dynamics AX
Implementation Functional Decomposition User Interface Testing Evaluation
Modules • Generic AX Test Case Runner • Invokes AX32.exe with arguments • Converts XML output from AX32.exe into TRX for VS • Test Results XML File (TRX) • File generated by ‘Generic AX Test Case Runner’ • XML format VS can read • Contains all information about the test cases that were run • Generic Test Wrapper • Built into VS • Allows management & execution of test cases not natively supported by VS • Invokes command line argument of executable that can run tests • Requires ‘Generic AX Test Case Runner’ to be used
Evaluation • Tests execute in Dynamics AX • All results returned from Dynamics AX • Results displayed in Visual Studio • Can publish results to TFS • Results can be retrieved from TFS • All above tasks can be accomplished by following tutorials • Multiple demos with client
Changes • Initial • Use of Microsoft Test & Lab Manager • Why Changed • Required functionality not available • Invoking Tests • Saving/Retrieving test results
Changes • Initial • Excel Test Case Migrator • Why Changed • Migrated test cases: • Could not be associated with results • Were not generic • No fields in TFS for information about the tests to be linked to
Changes • Initial • Invoke AX over a network • Why Changed • Overly complicated the solution • Required installation of a Web Server • Outside the scope of what client wanted • Project is a “How To” • Focus is not on adding features
Final Deliverables • Generic AX Test Case Runner executable • Works with VS 2010 Generic Test Wrapper • Tutorials • How to: • Create a test project & generic test • Get generic test to invoke AX Test Case Runner • Create a build using TFS • Publish the test results after running the generic test • Publish to Codeplex