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

Udfyld dine oplysninger nedenfor eller klik på et ikon for at logge ind:

WordPress.com Logo

Du kommenterer med din WordPress.com konto. Log Out / Skift )

Twitter picture

Du kommenterer med din Twitter konto. Log Out / Skift )

Facebook photo

Du kommenterer med din Facebook konto. Log Out / Skift )

Google+ photo

Du kommenterer med din Google+ konto. Log Out / Skift )

Connecting to %s