java - How perform Junit tests with Struts - Ibatis -


is using Stratus 1.2.x and Ibetis 2.x version for development, so I'm ending tomorrow And now I want to take part in the exam. It is trying to work with JUnit for the first time, I am already testing, but the Java is not running on the server, so I'm dealing with server behavior. How to fake or generate and create for Strats and Ibetis Recommended for the environment? / P>

For example, how do I submit for login screen?

I know about using Stratesthesis IM, and about containers for containers and joking for non-container scenes, I use one of the struts and Ibatis to cause the demo I do not know how to recover data from mapping.

P> Have you seen HTTPPNIT? I tried to do it for serial testing, completely different from the Stratus action and such - I know, but there were some good tutorials in it.

You also want to see that this project unit should be sufficient enough for test struts. It is also mentioned, which is a framework for testing web applications on the server side.

Actually all of this depends on the test that you want to go far. You probably have to write a test first, you know Test Dry Design;) It just works, it is not that I do this all the time ...


Comments