Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WorkFlow Unit Testing

How to unit test the windows workflows?

like image 681
user11039 Avatar asked Oct 08 '08 13:10

user11039


People also ask

What is workflow in testing?

Definition: Workflow testing involves mimicking the production environment into the testing phase so that it can be tested from an end-user's perspective. The test database must include sufficient test data so that each workflow can be tested thoroughly.

What are the steps of unit testing?

A unit test typically comprises of three stages: plan, cases and scripting and the unit test itself. In the first step, the unit test is prepared and reviewed. The next step is for the test cases and scripts to be made, then the code is tested.

What is unit test in pipeline?

Unit testing is the place to start when implementing testing in the Development Phase of the CI/CD pipeline. Unit testing is the process of testing discrete functions at the source code level. A developer will write a test that exercises a function.

What are types of unit testing?

There are 2 types of Unit Testing: Manual, and Automated.


2 Answers

K. Scott Allen has posted this, which provides an approach to unit testing custom activities (although he says that he is not satisfied). A similar approach is presented by Ron Jacobs here and here.

Another approach is presented by Maurice here and here (he uses TypeMock as Will already mentioned).

like image 132
Panos Avatar answered Oct 11 '22 21:10

Panos


Microsoft.Activities.UnitTesting.

A library of helper classes and activities designed to make unit testing of workflows easier.

Looks like there's a Channel 9 video for it on the downloads page, too.

like image 30
TrueWill Avatar answered Oct 11 '22 23:10

TrueWill