Skip to content

Commit 690d38a

Browse files
committed
- Add links to API doco in README.
[git-p4: depot-paths = "//src/minitest/dev/": change = 14591]
1 parent d80a4fd commit 690d38a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.rdoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ Given that you'd like to test the following class:
9595

9696
=== Unit tests
9797

98-
Define your tests as methods beginning with +test_+.
98+
Define your tests as methods beginning with +test_+. Use
99+
{assertions}[/minitest/Minitest/Assertions.html] to test for results
100+
or state.
99101

100102
require "minitest/autorun"
101103

@@ -119,6 +121,9 @@ Define your tests as methods beginning with +test_+.
119121

120122
=== Specs
121123

124+
Use {expectations}[/minitest/Minitest/Expectations.html] to check
125+
results or state. They must be wrapped in a value call (eg +_+).
126+
122127
require "minitest/autorun"
123128

124129
describe Meme do
@@ -146,7 +151,7 @@ For matchers support check out:
146151

147152
=== Benchmarks
148153

149-
Add benchmarks to your tests.
154+
Add {benchmarks}[/minitest/Minitest/Benchmark.html] to your tests.
150155

151156
# optionally run benchmarks, good for CI-only work!
152157
require "minitest/benchmark" if ENV["BENCH"]

0 commit comments

Comments
 (0)