MCPcopy Index your code
hub / github.com/junit-team/junit4

github.com/junit-team/junit4 @r4.13.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release r4.13.2 ↗ · + Follow
5,263 symbols 16,233 edges 473 files 747 documented · 14% updated 2mo agor4.13.2 · 2021-02-13★ 8,522
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

JUnit 4

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

For more information, please visit: * Wiki * Download and Install guide * Getting Started

CI Status

Extension points exported contracts — how you extend this code

Test (Interface)
A Test can be run and collect its results. @see TestResult [13 implementers]
src/main/java/junit/framework/Test.java
IMoney (Interface)
The common interface for simple Monies and MoneyBags [4 implementers]
src/test/java/junit/samples/money/IMoney.java
TestListener (Interface)
A Listener for test progress [10 implementers]
src/main/java/junit/framework/TestListener.java
A (Interface)
(no doc) [4 implementers]
src/test/java/org/junit/experimental/categories/MultiCategoryTest.java
ThrowingRunnable (Interface)
This interface facilitates the use of org.junit.Assert#assertThrows(Class, ThrowingRunnable) from Java 8. It all [42 implementers]
src/main/java/org/junit/function/ThrowingRunnable.java
B (Interface)
(no doc) [3 implementers]
src/test/java/org/junit/experimental/categories/MultiCategoryTest.java
Annotatable (Interface)
A model element that may have annotations. @since 4.12 [7 implementers]
src/main/java/org/junit/runners/model/Annotatable.java
C (Interface)
(no doc) [2 implementers]
src/test/java/org/junit/experimental/categories/MultiCategoryTest.java

Core symbols most depended-on inside this repo

assertEquals
called by 759
src/main/java/org/junit/Assert.java
assertThat
called by 390
src/main/java/org/junit/Assert.java
assertTrue
called by 240
src/main/java/org/junit/Assert.java
add
called by 190
src/test/java/junit/samples/money/IMoney.java
get
called by 156
src/main/java/org/junit/internal/Throwables.java
size
called by 133
src/main/java/org/junit/internal/Throwables.java
runClasses
called by 129
src/main/java/org/junit/runner/JUnitCore.java
getFailureCount
called by 105
src/main/java/org/junit/runner/Result.java

Shape

Method 3,979
Class 1,223
Interface 42
Function 11
Enum 8

Languages

Java100%
TypeScript1%

Modules by API surface

src/test/java/org/junit/tests/running/methods/AnnotationTest.java160 symbols
src/test/java/org/junit/tests/running/classes/ParameterizedTestTest.java145 symbols
src/test/java/org/junit/rules/TestRuleTest.java109 symbols
src/test/java/org/junit/tests/assertion/AssertionTest.java106 symbols
src/test/java/org/junit/experimental/categories/CategoryTest.java103 symbols
src/test/java/org/junit/rules/MethodRulesTest.java72 symbols
src/test/java/org/junit/rules/ClassRulesTest.java65 symbols
src/test/java/org/junit/rules/RuleMemberValidatorTest.java61 symbols
src/test/java/org/junit/tests/manipulation/SortableTest.java58 symbols
src/test/java/org/junit/tests/manipulation/OrderableTest.java56 symbols
src/test/java/org/junit/experimental/categories/MultiCategoryTest.java56 symbols
src/test/java/org/junit/tests/running/methods/TestMethodTest.java54 symbols

Dependencies from manifests, versioned

com.github.stephenc.wagon:wagon-gitsite0.4.1 · 1×
org.apache.maven.doxia:doxia-module-markdown1.5 · 1×
org.apache.maven.surefire:surefire-junit47
org.hamcrest:hamcrest-core
org.hamcrest:hamcrest-library

For agents

$ claude mcp add junit4 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact