@@ -30,63 +30,90 @@ summary can also be saved. Multiple options can be specified comma-separated.
30
30
31
31
.. code-block :: bash
32
32
33
- pytest --mpl --mpl-results-path=results --mpl-generate-summary=html,json
33
+ pytest --mpl \
34
+ --mpl-results-path=results \
35
+ --mpl-generate-summary=html,json
34
36
35
37
:summary: `test_html_images_only `
36
38
37
39
.. card :: Hash comparison only
38
40
39
41
.. code-block :: bash
40
42
41
- pytest --mpl --mpl-hash-library=mpl35_ft261.json --mpl-results-path=results --mpl-generate-summary=html,json
43
+ pytest --mpl \
44
+ --mpl-hash-library=mpl35_ft261.json \
45
+ --mpl-results-path=results \
46
+ --mpl-generate-summary=html,json
42
47
43
48
:summary: `test_html_hashes_only `
44
49
45
50
.. card :: Hybrid mode: hash and image comparison
46
51
47
52
.. code-block :: bash
48
53
49
- pytest --mpl --mpl-hash-library=mpl35_ft261.json --mpl-baseline-path=baseline --mpl-results-path=results --mpl-generate-summary=html,json
54
+ pytest --mpl \
55
+ --mpl-hash-library=mpl35_ft261.json \
56
+ --mpl-baseline-path=baseline \
57
+ --mpl-results-path=results \
58
+ --mpl-generate-summary=html,json
50
59
51
60
:summary: `test_html `
52
61
53
62
.. card :: Generating baseline images and hashes (With no testing)
54
63
55
64
.. code-block :: bash
56
65
57
- pytest --mpl --mpl-generate-path=baseline --mpl-generate-hash-library=test_hashes.json --mpl-results-path=results --mpl-generate-summary=html,json
66
+ pytest --mpl \
67
+ --mpl-generate-path=baseline \
68
+ --mpl-generate-hash-library=test_hashes.json \
69
+ --mpl-results-path=results \
70
+ --mpl-generate-summary=html,json
58
71
59
72
:summary: `test_html_generate `
60
73
61
74
.. card :: Generating baseline images (With no testing)
62
75
63
76
.. code-block :: bash
64
77
65
- pytest --mpl --mpl-generate-path=baseline --mpl-results-path=results --mpl-generate-summary=html,json
78
+ pytest --mpl \
79
+ --mpl-generate-path=baseline \
80
+ --mpl-results-path=results \
81
+ --mpl-generate-summary=html,json
66
82
67
83
:summary: `test_html_generate_images_only `
68
84
69
85
.. card :: Generating baseline hashes (With image comparison)
70
86
71
87
.. code-block :: bash
72
88
73
- pytest --mpl --mpl-generate-hash-library=test_hashes.json --mpl-results-path=results --mpl-generate-summary=html,json
89
+ pytest --mpl \
90
+ --mpl-generate-hash-library=test_hashes.json \
91
+ --mpl-results-path=results \
92
+ --mpl-generate-summary=html,json
74
93
75
94
:summary: `test_html_generate_hashes_only `
76
95
77
96
.. card :: Generating baseline hashes (With hash comparison)
78
97
79
98
.. code-block :: bash
80
99
81
- pytest --mpl --mpl-generate-hash-library=test_hashes.json --mpl-hash-library=mpl35_ft261.json --mpl-results-path=results --mpl-generate-summary=html,json
100
+ pytest --mpl \
101
+ --mpl-generate-hash-library=test_hashes.json \
102
+ --mpl-hash-library=mpl35_ft261.json \
103
+ --mpl-results-path=results \
104
+ --mpl-generate-summary=html,json
82
105
83
106
:summary: `test_html_run_generate_hashes_only `
84
107
85
108
.. card :: Hybrid mode: hash and image comparison
86
109
87
110
.. code-block :: bash
88
111
89
- pytest --mpl --mpl-hash-library=mpl35_ft261.json --mpl-baseline-path=baseline --mpl-results-path=results --mpl-generate-summary=basic-html,json
112
+ pytest --mpl \
113
+ --mpl-hash-library=mpl35_ft261.json \
114
+ --mpl-baseline-path=baseline \
115
+ --mpl-results-path=results \
116
+ --mpl-generate-summary=basic-html,json
90
117
91
118
:summary: `test_basic_html `
92
119
0 commit comments