Skip to content

Commit 45d4a92

Browse files
Merge pull request #194 from sopel/patch-1
Add pointer regarding unit tests as inner classes
2 parents 80f6d82 + e151104 commit 45d4a92

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This test folder only contains performance and functional/integration style tests.
2+
3+
The unit tests themselves are embedded as inner classes of the Java code (such as here: [rxjava-core/src/main/java/rx/operators](https://github.com/Netflix/RxJava/tree/master/rxjava-core/src/main/java/rx/operators)).
4+
5+
* For an explanation of this design choice see
6+
Ben J. Christensen's [JUnit Tests as Inner Classes](http://benjchristensen.com/2011/10/23/junit-tests-as-inner-classes/).
7+
8+
Also, each of the language adaptors has a /src/test/ folder which further testing (see Groovy for an example: [language-adaptors/rxjava-groovy/src/test](https://github.com/Netflix/RxJava/tree/master/language-adaptors/rxjava-groovy/src/test)).

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

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)