David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
cachedir: .pytest_cache
rootdir: $(@D)
configfile: pytest.ini
testpaths: tests
collecting ... collected 34 items
 
 pytest collect file
 
    only loads dot py files
    skips underscored files
    skips underscored directories
    does not consume conftest files
 
RelaxedMixin
 
    selects all non underscored members
    skips setup and teardown
    skips pytest fixtures
    setup given inner class instances when inherited
    setup method given inner class instances
 
SpecModule
 
    skips non callable items
    skips imported objects
    does not warn about imported names
    replaces class tests with custom recursing classes
    does not collect test prefixed files
 
SpecClass
 
    methods self objects exhibit class attributes
    nested self objects exhibit parent attributes
    nesting is infinite
    overriding works naturally
    normal methods from outer classes are not copied
    private methods from outer classes are copied
    module contents are not copied into top level classes
 
RegularFunctions
 
    acts just like normal pytest
 
VerboseFunctions
 
    displays tests indented under module header
    test prefixes are stripped
 
VerboseClasses
 
    shows tests nested under classes without files
    tests are colorized by test result
    nests many levels deep no problem
    headers and tests have underscores turn to spaces
    test prefixes are stripped
    test suffixes are stripped
 
 raises
 
    when given exception raised no problem
    when given exception not raised it raises Exception
    when some other exception raised it is untouched
 
======== 32 passed, 2 skipped ========