Thank you for explanations!
I found on the Internet that unit test is test of individual method (only one method). After all your methods seperately are tested you can proceed to integration test.
Integration test is test of multiple methods that run together to perform one task( when one task cannot be implemented only in one method ).
Unfortunately I have really poor understanding how can I write my own integration test for web application.
Why can't I just make my web project, build, deploy it and try it out as it is on my web browser without testing? By the way I have been working for some time on Java Swing
and I did no tests and I saw real problems and corrected them. I didn't correct my testing mistakes but program which is ready to be built and used by everybody.
Anyway I should know those tests!
Please, if you can, give me great example of javaee web application which uses unit and integration tests!
If you have and it is not available on the Internet send it to my email - <code>
[email protected]</code>
Thank you in advance!