File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ as a conforming Perl 6 implementation.
7
7
8
8
- [ Introduction] ( #introduction )
9
9
10
+ - [ Test Utilities] ( #test-utilities )
11
+
10
12
- [ Environment Variables] ( #environment-variables )
11
13
12
14
- [ Contributing] ( CONTRIBUTING.md )
@@ -121,6 +123,22 @@ To fudge and run `prove` on a specific file:
121
123
` perl6 ` to look at special variables like ` $*PERL ` . See ` fudgeandrun ` usage to
122
124
specify a different implementation and other options.
123
125
126
+ ## Test Utilities
127
+
128
+ This repository contains
129
+ [ ` Test::Util ` module] ( blob/master/packages/Test/Util.pm ) with helper routines
130
+ you can use when writing tests. See POD documentation included at the end of
131
+ the [ module's source code] ( blob/master/packages/Test/Util.pm ) . To include
132
+ the module, in your test file, you need to add ` use lib ` line to your test file.
133
+
134
+ use lib $?FILE.IO.parent(2).add: 'packages';
135
+ use Test::Util;
136
+ use Test;
137
+
138
+ Depending on the location of your test file, the number inside ` .parent(2) `
139
+ may need to be adjusted to go up the correct number of times from the test
140
+ files's location to the root of the repository.
141
+
124
142
## Environmental Variables
125
143
126
144
- ** ROAST_TIMING_SCALE**
You can’t perform that action at this time.
0 commit comments