我正在使用Topshelf來託管以C#編寫的Windows服務,現在我想編寫一些集成測試。我的初始化代碼在發射類像下面的召開方式: public class Launcher
{
private Host host;
/// <summary>
/// Configure and launch the windows service
/// </summ
我使用specflow和nunit測試WCF服務方法;我的方案如下所示: Feature: GetAccount
Testing API method 'get account'
Background:
Given Server is running
Scenario: Succesful Get
Given An Existing Account