@@ -29,15 +29,16 @@ now execute the test specification::
29
29
======= test session starts ========
30
30
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
31
31
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
32
- collected 0 items / 1 errors
32
+ collected 2 items
33
33
34
- ======= ERRORS ========
35
- _______ ERROR collecting test_simple.yml ________
36
- conftest.py:11: in collect
37
- import yaml # we need a yaml parser, e.g. PyYAML
38
- E ImportError: No module named 'yaml'
39
- !!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
40
- ======= 1 error in 0.12 seconds ========
34
+ test_simple.yml F.
35
+
36
+ ======= FAILURES ========
37
+ _______ usecase: hello ________
38
+ usecase execution failed
39
+ spec failed: 'some': 'other'
40
+ no further details known at this point.
41
+ ======= 1 failed, 1 passed in 0.12 seconds ========
41
42
42
43
.. regendoc:wipe
43
44
@@ -61,15 +62,17 @@ consulted when reporting in ``verbose`` mode::
61
62
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0 -- $PYTHON_PREFIX/bin/python3.5m
62
63
cachedir: .cache
63
64
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
64
- collecting ... collected 0 items / 1 errors
65
+ collecting ... collected 2 items
66
+
67
+ test_simple.yml::hello FAILED
68
+ test_simple.yml::ok PASSED
65
69
66
- ======= ERRORS ========
67
- _______ ERROR collecting test_simple.yml ________
68
- conftest.py:11: in collect
69
- import yaml # we need a yaml parser, e.g. PyYAML
70
- E ImportError: No module named 'yaml'
71
- !!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
72
- ======= 1 error in 0.12 seconds ========
70
+ ======= FAILURES ========
71
+ _______ usecase: hello ________
72
+ usecase execution failed
73
+ spec failed: 'some': 'other'
74
+ no further details known at this point.
75
+ ======= 1 failed, 1 passed in 0.12 seconds ========
73
76
74
77
.. regendoc:wipe
75
78
@@ -80,12 +83,9 @@ interesting to just look at the collection tree::
80
83
======= test session starts ========
81
84
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.33, pluggy-0.4.0
82
85
rootdir: $REGENDOC_TMPDIR/nonpython, inifile:
83
- collected 0 items / 1 errors
86
+ collected 2 items
87
+ <YamlFile 'test_simple.yml'>
88
+ <YamlItem 'hello'>
89
+ <YamlItem 'ok'>
84
90
85
- ======= ERRORS ========
86
- _______ ERROR collecting test_simple.yml ________
87
- conftest.py:11: in collect
88
- import yaml # we need a yaml parser, e.g. PyYAML
89
- E ImportError: No module named 'yaml'
90
- !!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!
91
- ======= 1 error in 0.12 seconds ========
91
+ ======= no tests ran in 0.12 seconds ========
0 commit comments