File tree Expand file tree Collapse file tree 4 files changed +19
-13
lines changed Expand file tree Collapse file tree 4 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -299,3 +299,8 @@ html[data-theme=dark] {
299
299
text-align : left;
300
300
}
301
301
}
302
+
303
+ p .sd-card-text {
304
+ text-align : left;
305
+ padding : 1em ;
306
+ }
Original file line number Diff line number Diff line change 87
87
"image_light" : "logo-light-mode.png" ,
88
88
"alt_text" : "pyOpenSci Python Package Guide. The pyOpenSci logo is a purple flower with pyOpenSci under it. The o in open sci is the center of the flower" ,
89
89
},
90
- "header_links_before_dropdown" : 3 ,
90
+ "header_links_before_dropdown" : 4 ,
91
91
"use_edit_page_button" : True ,
92
92
"show_nav_level" : 2 ,
93
93
"navigation_depth" : 3 ,
Original file line number Diff line number Diff line change @@ -176,9 +176,6 @@ This guidebook is for anyone interested in learning more about Python packaging.
176
176
1 . Resources to help you navigate the Python packaging ecosystem of tools and approaches to packaging.
177
177
1 . A curated list of resources to help you get your package into documented, usable and maintainable shape.
178
178
179
-
180
-
181
-
182
179
## Where this guide is headed
183
180
184
181
If you have ideas of things you'd like
@@ -190,7 +187,7 @@ This is a living guide that is updated as tools and best practices evolve in the
190
187
191
188
``` {toctree}
192
189
:hidden:
193
- :caption: Testing
190
+ :caption: Tutorials
194
191
195
192
Tutorials <tutorials/intro>
196
193
@@ -217,5 +214,7 @@ Packaging <package-structure-code/intro>
217
214
:caption: Testing
218
215
219
216
Tests <tests/index>
217
+ Write tests <tests/write-tests>
218
+ Types of tests <tests/test-types>
220
219
221
220
```
Original file line number Diff line number Diff line change @@ -9,33 +9,35 @@ tests for your Python package and how you can setup infrastructure
9
9
to run your tests both locally and on GitHub.
10
10
11
11
12
- ::::{grid} 1 1 3 3
12
+ ::::: {grid} 1 1 3 3
13
13
:class-container: text-center
14
14
:gutter: 3
15
15
16
- :::{grid-item-card}
16
+ ::::{grid-item}
17
+ :::{card} ✨ Why write tests ✨
17
18
:link : write-tests
18
19
:link-type: doc
19
-
20
- ✨ Why write tests ✨
21
- ^^^
20
+ :class-card: left-aligned
22
21
23
22
Learn more about the art of writing tests for your Python package.
24
23
Learn about why you should write tests and how they can help you and
25
24
potential contributors to your project.
26
25
:::
26
+ ::::
27
27
28
- :::{grid-item-card}
28
+ ::::{grid-item}
29
+ :::{card} ✨ Types of tests ✨
29
30
:link : test-types
30
31
:link-type: doc
32
+ :class-card: left-aligned
31
33
32
- ✨ Types of tests ✨
33
- ^^^
34
34
There are three general types of tests that you can write for your Python
35
35
package: unit tests, integration tests and end-to-end (or functional) tests. Learn about all three.
36
36
:::
37
37
::::
38
38
39
+ :::::
40
+
39
41
40
42
:::{figure-md} fig-target
41
43
You can’t perform that action at this time.
0 commit comments