Skip to content

Commit 5885969

Browse files
committed
Document basictest and bootstraptest
1 parent 20e28b9 commit 5885969

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

doc/contributor/testing.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ We talk about several types of tests in TruffleRuby:
88
* TCK (`TCK`)
99
* Specs (`SPECS`)
1010
* MRI tests (`MRI`)
11+
* MRI basictest (`BASIC`)
12+
* MRI bootstraptest (`BOOT`)
1113
* C extension tests (`CEXT`)
1214
* Bundler tests (`BUN`)
1315
* Compiler tests (`COMP`)
@@ -64,6 +66,23 @@ MRI tests are in `test/mri`.
6466

6567
Run MRI tests with `jt test mri`.
6668

69+
### MRI basictest
70+
71+
MRI's basictest is a smaller set of tests for some basic control structures
72+
and language features. It is in `test/basictest`.
73+
74+
Run basictest with `jt ruby test/basictest/runner.rb`.
75+
76+
### MRI bootstraptest
77+
78+
MRI's bootstraptest is a smaller set of tests for functionality they require
79+
to bootstrap their implementation, including some tests against regressions
80+
and corner cases. It is in `test/bootstraptest`.
81+
82+
Run bootstraptest with `jt ruby test/bootstraptest/runner.rb`. It's not
83+
tractable to run bootstraptest with the JVM, as it starts a new Ruby process
84+
for each test. Run it with a native build instead.
85+
6786
### C extension tests
6887

6988
C extension tests are a basic test of compiling, loading and running C

0 commit comments

Comments
 (0)