Errata

JUnit Pocket Guide

Errata for JUnit Pocket Guide

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 16
sample code -- public static TestSuite()...

code fragment;

...
...
public static Test suite(){
Test suite = new TestSuite (this.class);
return new DataBase (suite);
}

in my java IDE, and studies -- "this.class" is never allowed anywhere;

also -- "this" not allowed in static method ever in my IDE, studies;

so please explain what the author meant

thanks

Anonymous  Dec 05, 2008 
Printed Page 25
3rd paragraph

Because of a typo due to the beginning of a new sentence,

CountTestCases( )

should be

countTestCases( )

and

Run(TestResult)

should be

run(TestResult)

Anonymous   
Printed Page 25
3rd paragraph

Because of a typo due to the beginning of a new sentence,

CountTestCases( )

should be

countTestCases( )

and

Run(TestResult)

should be

run(TestResult)

Anonymous   
Printed Page 25
1st paragraph

CountTestCases( ) would return 1.

should be

countTestCases( ) would return 1.

Cong Liu  Nov 25, 2017 
Printed Page 29
1st line of paragraph "Package Structure"

A false typographic convention is used for the package name

junit.framework

A constant width should be used.

Anonymous   
Printed Page 29
1st line of paragraph "Package Structure"

A false typographic convention is used for the package name

junit.framework

A constant width should be used.

Anonymous   
Printed Page 42
1st paragraph of "Story of JUnit", last sentence

"writte" should be "write"

Anonymous   
Printed Page 42
1st paragraph of "Story of JUnit", last sentence

"writte" should be "write"

Anonymous   
Printed Page 58
1st paragraph, 1st line

"use subclass" should be "subclass" (drop "use")

Anonymous   
Printed Page 58
1st paragraph, 1st line

"use subclass" should be "subclass" (drop "use")

Anonymous