File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff 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"]
You can’t perform that action at this time.
0 commit comments