File: README.md

package info (click to toggle)
libconfig-model-approx-perl 1.011-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 156 kB
  • sloc: perl: 214; makefile: 2
file content (41 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
## Running the tests

All tests can be run in parrallel with

    prove -j8 t/

### Test options

Most tests can be run with the options provided by
[Config::Model::Tester::Setup](https://metacpan.org/pod/Config::Model::Tester::Setup):

* `-trace`: show more information
* `-error`: show stack stace in case of error
* `-log`: Enable logs (you may need to tweak `~/.log4config-model` to get more trace.
   See [cme/Logging](https://metacpan.org/pod/distribution/App-Cme/bin/cme#Logging) for more details.

### model_tests.t

This test is set of subtests made of test cases. It accepts arguments
to limit the test to one subtest and one test case:

    perl t/model_test.t [ --log ] [--error] [--trace] [ subtest [ test_case ] ]

See [Config::Model::Tester](https://metacpan.org/pod/Config::Model::Tester) for more details.

### Running with prove

You can run all tests with

    prove -j8 t/

To run with local files:

    prove -l -j8 t/

You can pass parameter to test files with:

    prove -l t/ :: --log