make ccnet self test

后端 未结 3 1899
醉话见心
醉话见心 2021-01-16 17:30

i want to run a test project in ccnet, can anyone help?


i am not using NUnit. I am using [Test Class()] attribute in my web project, and wanna run this project

3条回答
  •  轮回少年
    2021-01-16 18:04

    I'd suggest looking in CCNet to run a msbuild task There are a number of examples to run MSTest from MSBuild tasks.

    This one looks prommesing: http://harriyott.com/2005/07/running-mstest-from-msbuild.aspx?post=/2005/07/running-mstest-from-msbuild.blogpost

    -- I myself am using NUnit and xUnit. Might you consider switching to NUnit for testing? There is a wider adoption of NUnit in combination with CCNet, which makes searching answers easier.

提交回复
热议问题