1. Home
  2. Getting the Code and Contributing
  3. How to Build Warewolf From Source Part 2

How to Build Warewolf From Source Part 2

Please see the getting started guide for building Warewolf for the basics of building and running Warewolf. This article outlines the more advanced concepts involved in building the Warewolf source files and running the tests.

Run the Unit tests

Having built Warewolf for the first time, it is advisable to run all the unit tests to ensure that you have a clean and stable copy of the code base. The Studio and Server unit test projects are located within the Studio and Server solutions respectively.

  • In Visual Studio Menu Click on, Test >Windows >Test Explorer. This will bring up the test explorer. Click “Run All” to run all the unit tests. It is imperative that you run all the tests before starting any development

Run the Specflow BDD Acceptance Tests

  • Download and install the free version of Specflow 
  • From Visual Studio open the Dev2.AcceptanceTesting.sln file from your local Git repository. The Specflow specs are defined in Dev2.Activities.Specs project
  • Start the server as outlined in the getting started guide for building Warewolf article
  • In Visual Studio Menu Click on, Test >Windows >Test Explorer. This will bring up the test explorer. In the test explorer filter box type Project:”Dev2.Activities.Specs” and press return
  • Click “Run All” to run all the spec flow scenarios

Run the Integration Tests

  • From Visual Studio open the Integration Tests.sln file from the Dev folder of your local Git repository. The Integration tests are defined in the Dev2.Integration.Tests project
  • Start the server as outlined in the getting started guide for building Warewolf article
  • In Visual Studio Menu Click on, Test >Windows >Test Explorer. This will bring up the test explorer. In the test explorer filter box type Project:” Dev2.Integration.Tests” and press return
  • Click “Run All” to run all the integration tests

Not what you were looking for? Ask our expert users in the Community Forum.

FacebookTwitterLinkedInGoogle+Email
Updated on May 29, 2018

Was this article helpful?

Related Articles

Enjoying Warewolf?

Write a review on G2 Crowd
Stars