1ok(3) User Contributed Perl Documentation ok(3)
2
3
4
6 ok - Alternative to Test::More::use_ok
7
9 use ok( 'Some::Module' );
10
12 With this module, simply change all "use_ok" in test scripts to "use
13 ok", and they will be executed at "BEGIN" time.
14
15 Please see Test::use::ok for the full description.
16
18 Copyright 2005, 2006 by Audrey Tang <cpan@audreyt.org>.
19
20 This software is released under the MIT license cited below.
21
22 The "MIT" License
23 Permission is hereby granted, free of charge, to any person obtaining a
24 copy of this software and associated documentation files (the
25 "Software"), to deal in the Software without restriction, including
26 without limitation the rights to use, copy, modify, merge, publish,
27 distribute, sublicense, and/or sell copies of the Software, and to
28 permit persons to whom the Software is furnished to do so, subject to
29 the following conditions:
30
31 The above copyright notice and this permission notice shall be included
32 in all copies or substantial portions of the Software.
33
34 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
35 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
36 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
37 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
38 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
39 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
40 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
41
42
43
44perl v5.12.0 2006-10-30 ok(3)