Friday 15 June 2012

.net - Create web service consumerprogram for test purposes automatically? -


I think that when I create many webservices, I try to make thousands of small "test programs" Which is the only purpose Websearchy Yes, if your webservice only takes integers and strings, then you can use the created test page which does the website service, but often you have to type in the booleans, userbases or typed strongly Has a dataset Which will be passed to the function and then create a dummy Bob you need to create a program and fill it to fill some default properties for you.

So my question is, is there a program or "add" out of there which can generate a test-winform program on the fly, just using the webservice as input, which tests the webservice Makes the code to do?

It would be nice, because its one (monkey) work is completely non-constructive, moving forward, taking time and boring to do. / P>

Although it is necessary to have "time consuming and boring" to write those test applications, this even more Must have more to manually use them again and again.

May I suggest that you write a suite of automated tests so that GUI-based applications you throw? Although this type of test is called Unity Test , you can use any unit test framework to implement such a test suite.

Since the web service provides the programmatic API, it is very easy.

This can save you a lot of time in order to be able to run the same test repeatedly without manual intervention.


No comments:

Post a Comment