Skip to content

Commit 6d1c38d

Browse files
committed
Add pointer regarding unit tests as inner classes
1 parent 80f6d82 commit 6d1c38d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rxjava-core/src/test/java/README.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ This test folder only contains performance and functional/integration style test
22

33
The unit tests themselves are embedded as inner classes of the Java code (such as here https://github.com/Netflix/RxJava/tree/master/rxjava-core/src/main/java/rx/operators).
44

5-
Also, each of the language adaptors has a /src/test/ folder which further testing. See Groovy for an example: https://github.com/Netflix/RxJava/tree/master/language-adaptors/rxjava-groovy/src/test
5+
* For an explanation of this design choice see http://benjchristensen.com/2011/10/23/junit-tests-as-inner-classes/.
6+
7+
Also, each of the language adaptors has a /src/test/ folder which further testing. See Groovy for an example: https://github.com/Netflix/RxJava/tree/master/language-adaptors/rxjava-groovy/src/test

0 commit comments

Comments
 (0)