automate « junit « Java Testing Q&A

Home
Java Testing Q&A
1.Development
2.FindBugs
3.HTMLUnit
4.hudson
5.junit
6.performance
7.plugin
8.profile
9.selenium
10.Tools
11.unit test
Java Testing Q&A » junit » automate 

1. Can we use JUNIT for Automated Integration Testing?    stackoverflow.com

How do you automate integration testing? I use JUnit for some of these tests. This is one of the solutions or is totally wrong? What do you suggest?

2. Automated way to find JUnit tests that leak memory    stackoverflow.com

The root of our problem is Singletons. But Singletons are hard to break and in the meantime we have a lot of unit tests that use Singletons without being careful ...

3. Is there any way to automatically execute JUnit testcases once with all logging enabled and once with all logging disabled to increase code-coverage ...    stackoverflow.com

I've found a solution, see my own answer below. Does anyone have a more elegant one? Assume the following class to be tested:

public class Foo {
    private final Logger ...

4. JUnit Testing for Automated Testing Scripts?    stackoverflow.com

I recently joined this organisation that I am currently working at that has asked me to manage a project to re factor, extend and maintain an existing Automated Testing Framework written ...

5. easiest Automated testing tool in Java    stackoverflow.com

I want to learn quickly like in an few hours an automated testing tools. Does somebody know any automated testing tool which is very easy and how can we do same automation ...

6. Automatically organising JUnit tests    stackoverflow.com

On our project we organise our unit tests according to the maven convention.

src/main/java/com.company.project/SomeClass.java
src/test/java/com.company.project/SomeClassTest.java
Can anyone recommend a good tool for keeping test classes in sync when the class under test changes name ...

7. Automated memory leak detection in Java    stackoverflow.com

I was thinking about automated memory leak detection for a Java program. The basic algorithm is to create JUnits that contain the following logic:

Call System.gc() several times
Determine initial heap memory ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.