Test Driven « Development « 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 » Development » Test Driven 

1. Is it a Test Driven Development approach?    stackoverflow.com

Suppose the following model

public class Product {

    private Integer requiredQuantity;
    private Integer allowedQuantity;

    // getters and setters

} 

public class Order {

  ...

2. Acceptance Tests for Tetris when using Test Driven Development    stackoverflow.com

I want to try to implement the Tetris Game using TDD. From what I've come to understand when reading Growing Object-Oriented Software, Guided by Tests, I should start by defining ...

3. Removing duplication in Test Driven Development    stackoverflow.com

I am developing a small parser class TDD style. Here are my tests:

    ...

    [TestMethod]
    public void Can_parse_a_float() {
    ...

4. Test Driven Desing and private methods    forums.oracle.com

I hasten to add that I never do that. Since I've become test-infected, methods I would have previously made private that I want to write unit tests for I now give the default access level (package). I don't see much of a down side to that. You should be disciplined enough not to call the method within your package if it ...

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.