开发者

Best way to unit-test WCF REST/SOAP service while dynamically generating stubs

开发者 https://www.devze.com 2022-12-26 20:06 出处:网络
I have a webservice written with WCF 4.0 that exposes REST and SOAP functions, and I want to set up my unit tests so that as I work on my web services I can quickly test by having the test framework s

I have a webservice written with WCF 4.0 that exposes REST and SOAP functions, and I want to set up my unit tests so that as I work on my web services I can quickly test by having the test framework start up the service, outside of IIS, and then do the tests.

I want it to be dynamically generated as I am not certain what the interface will look like, and it is easier to not worry about having to generate the stubs before I start the tests.

But, I couldn't get Groovy to work with my web service, so I am curious if Iron Python or Iron Ruby w开发者_StackOverflowould work well for this, or is there another .NET language that may work well for this.


SOAPUI can take your WSDL and/or WADL and general your first order tests. You can script up move complex usecase. It is easy to use but powerful through the use of Groovy or Java. It is without doubt the best test tool in this space.

0

精彩评论

暂无评论...
验证码 换一张
取 消