MCPcopy Index your code
hub / github.com/adamluzsi/testcase

github.com/adamluzsi/testcase @v0.145.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.145.0 ↗ · + Follow
1,511 symbols 10,144 edges 211 files 141 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

// Package testcase is an opinionated testing framework. // // Repository + README: // https://go.llib.dev/testcase // // Guide: // https://go.llib.dev/testcase/blob/master/docs/README.md package testcase

Extension points exported contracts — how you extend this code

Suite (Interface)
Suite meant to represent a testing suite. A test Suite is a collection of test cases. In a test suite, the test cases ar [10 …
Suite.go
TBRunner (Interface)
TBRunner defines the interface you need to implement if you want to create a custom TB that is compatible with Spec. To [4 …
TB.go
TB (Interface)
(no doc) [3 implementers]
internal/env/env.go
XYStorage (Interface)
XYStorage is the role interface [1 implementers]
docs/testing-double/spec_helper_test.go
VarInitFunc (FuncType)
VarInitFunc is a backward compatibility type for VarInit. DEPRECATED: use VarInit type instead.
backward.go
TempDirer (Interface)
(no doc) [2 implementers]
internal/doubles/RecorderTB_test.go
Storage (Interface)
role interface
docs/examples/role/main.go
RetryStrategy (Interface)
(no doc) [2 implementers]
assert/Eventually.go

Core symbols most depended-on inside this repo

Get
called by 1047
Var.go
Must
called by 526
assert/Asserter.go
Then
called by 454
DSL.go
Equal
called by 391
assert/Asserter.go
True
called by 384
assert/Asserter.go
Test
called by 383
Spec.go
NewSpec
called by 350
Spec.go
Run
called by 315
TB.go

Shape

Function 819
Method 464
Struct 165
Interface 32
FuncType 16
TypeAlias 15

Languages

Go100%

Modules by API surface

examples_test.go102 symbols
assert/example_test.go94 symbols
Spec_test.go66 symbols
assert/Asserter_test.go59 symbols
Spec.go45 symbols
assert/Asserter.go44 symbols
random/Random.go31 symbols
random/Factory.go31 symbols
variables.go29 symbols
assert/pkgfunc.go26 symbols
random/examples_test.go25 symbols
T_test.go25 symbols

For agents

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

⬇ download graph artifact