how to communicate to a servlet program from your test classe (using testing / Junit)
64351
Unit testing a Java Servlet
145348
Java: How to test methods that call System.exit()?
45333
SingleEmailMessage sending isn't working when called from Unit Test
143071
Passing parameters from test methods
6502
need help with test class with ApexPages.currentPage().getParameters().id
85069
JUnit testing for IO
50080
Test class get error System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
71855
How do I Dynamically create a Test Suite in JUnit 4?
147603
How can I call a method in an object from outside the JVM?
83266
Setting up JNDI Datasource in jUnit
155767
How to initialize a Servlet during startup with parameters?
5341
How do you store Java objects in HttpSession?
7606
How do I unit test code that includes a callout?
144946
What does the Java assert keyword do, and when should it be used?
98099
How to include inner class/wrapper class in test method?
100746
Working with a Java Mail Server for Testing
119560
How to test void method with Junit testing tools?