Integration and Build Verification Tests

Rating: No reviews yet
Downloads: 309
Released: Dec 1, 2008
Updated: Dec 4, 2008 by mshanz
Dev status: Stable Help Icon

Recommended Download

Application SPG_Integration_BVT.zip
application, 103K, uploaded Dec 4, 2008 - 309 downloads

Release Notes

This release contains a set of integration tests and build verification tests.

You may extract the projects from the .zip file to any folders in your computer. However, it is recommended that you extract them to the Contoso.RI folder which contains the Contoso.RI (VSTS Tests).sln Visual Studio solution.

Integration Tests
The set of integration tests provided in this drop were created to test the the code in the Training Management RI against a real running SharePoint instance. The tests are based on the set of unit tests developed with Typemock Isolator. However, Typemock Isolator is not required to run the provided set of integration tests.

Instruction for using the integration test projects:
  1. Open the Contoso.RI (VSTS Tests).sln Visual Studio solution and add the the extracted projects.
  2. In order to run the integration tests locally, you must deploy the Contoso.TrainingManagement Solution.
    1. Follow the Installation instructions for the reference implementation in the guidance. The steps for creating the SPGManager and SPGEmployee user accounts are required as well.
    2. Open the App.config files for both integration tests. Locate the "SiteUrl" app setting and provide a valid site collection url where the reference implementation has been deployed.

Build Verification Tests (BVT)

BVTs are a set of VSTS web test that running the basic scenarios for the Contoso Training Application. Here are the requirements & Instructions for the BVT:
  1. Visual Studio 2008 Service Pack 1 must be installed.
  2. In order to run BVT locally, you must deploy the Contoso.TrainingManagement and Conntoso.TrainingManagement.Workflows.RegistrationApproval projects.
    1. Follow the Installation instructions for the reference implementation in the guidance. The steps for creating the SPGManager and SPGEmployee user accounts are required as well.
  3. Open the TrainingManagementBVT.sln Visual Studio solution.
  4. Locate and open Config.cs file under TrainingManagementBVT/HelperClasses folder.
    1. Update spgmanager and spgemployee passwords in the Config.cs file.
    2. Update site collection and web Url in the Config.cs file.
  5. The current user running the VSTS must be the owner of the SharePoint site collection and the SharePoint site that is been tested.
  6. You may want to increase the think time for the BVT if workflow related test fails.
  7. If test cases fails, you may want to manually go through the test scenario to make sure it works.
  8. The BVT will only work if the VSTS and SharePoint are in the same PC. It will not work if the the SharePoint site is in a remote PC.

Reviews for this release

No reviews yet for this release.