Testing.Commons.ServiceStack

A new sibling has joined of the Testing.Commons family.

Testing ServiceStack services

I have reviewed, worked (and presented) extensively on ServiceStack lately.

With work done comes testing your work. And I found ServiceStack to require little plumbing to do integration tests. But there is some. And there, Testing.Commons.ServiceStack can help with your integration tests.

Low barrier testing

  1. Create a class library project
  2. Install ServiceStack nuget package (the latest free version): Install-Package ServiceStack -Version 3.9.71
  3. Install Testing.Commons.ServieStack nuget package: Install-Package Testing.Commons.ServiceStack
  4. Create a test that inherits from either SingleHostPerFixture or SingleHostPerTest
  5. Happy testing!

More?

Go to the documentation page for guidance or, better yet, project’s automated tests.

Skriv et svar