vault backup: 2025-01-23 08:49:54
This commit is contained in:
		
							
								
								
									
										6
									
								
								.obsidian/workspace-mobile.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.obsidian/workspace-mobile.json
									
									
									
									
										vendored
									
									
								
							| @ -13,12 +13,12 @@ | |||||||
|             "state": { |             "state": { | ||||||
|               "type": "markdown", |               "type": "markdown", | ||||||
|               "state": { |               "state": { | ||||||
|                 "file": "組織/EverfortuneAI/{Note} Poetry.md", |                 "file": "組織/EverfortuneAI/{Note} Pytest.md", | ||||||
|                 "mode": "source", |                 "mode": "source", | ||||||
|                 "source": false |                 "source": false | ||||||
|               }, |               }, | ||||||
|               "icon": "lucide-file", |               "icon": "lucide-file", | ||||||
|               "title": "{Note} Poetry" |               "title": "{Note} Pytest" | ||||||
|             } |             } | ||||||
|           } |           } | ||||||
|         ] |         ] | ||||||
| @ -146,8 +146,8 @@ | |||||||
|   }, |   }, | ||||||
|   "active": "e0251782d53c0c60", |   "active": "e0251782d53c0c60", | ||||||
|   "lastOpenFiles": [ |   "lastOpenFiles": [ | ||||||
|     "組織/EverfortuneAI/{Note} Nox.md", |  | ||||||
|     "組織/EverfortuneAI/{Note} Poetry.md", |     "組織/EverfortuneAI/{Note} Poetry.md", | ||||||
|  |     "組織/EverfortuneAI/{Note} Nox.md", | ||||||
|     "組織/EverfortuneAI/resources/poetry.png", |     "組織/EverfortuneAI/resources/poetry.png", | ||||||
|     "Untitled.md", |     "Untitled.md", | ||||||
|     "組織/EverfortuneAI/{Note} Packaging Python Project.md", |     "組織/EverfortuneAI/{Note} Packaging Python Project.md", | ||||||
|  | |||||||
							
								
								
									
										33
									
								
								.obsidian/workspace.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										33
									
								
								.obsidian/workspace.json
									
									
									
									
										vendored
									
									
								
							| @ -20,23 +20,8 @@ | |||||||
|               "icon": "lucide-file", |               "icon": "lucide-file", | ||||||
|               "title": "{Note} Poetry" |               "title": "{Note} Poetry" | ||||||
|             } |             } | ||||||
|           }, |  | ||||||
|           { |  | ||||||
|             "id": "da4efdc0e3adde70", |  | ||||||
|             "type": "leaf", |  | ||||||
|             "state": { |  | ||||||
|               "type": "markdown", |  | ||||||
|               "state": { |  | ||||||
|                 "file": "組織/EverfortuneAI/{Note} Pytest.md", |  | ||||||
|                 "mode": "source", |  | ||||||
|                 "source": true |  | ||||||
|               }, |  | ||||||
|               "icon": "lucide-file", |  | ||||||
|               "title": "{Note} Pytest" |  | ||||||
|             } |  | ||||||
|           } |           } | ||||||
|         ], |         ] | ||||||
|         "currentTab": 1 |  | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "id": "97c43f9093922695", |         "id": "97c43f9093922695", | ||||||
| @ -143,7 +128,7 @@ | |||||||
|             "state": { |             "state": { | ||||||
|               "type": "backlink", |               "type": "backlink", | ||||||
|               "state": { |               "state": { | ||||||
|                 "file": "組織/EverfortuneAI/{Note} Pytest.md", |                 "file": "組織/EverfortuneAI/{Note} Poetry.md", | ||||||
|                 "collapseAll": false, |                 "collapseAll": false, | ||||||
|                 "extraContext": false, |                 "extraContext": false, | ||||||
|                 "sortOrder": "alphabetical", |                 "sortOrder": "alphabetical", | ||||||
| @ -153,7 +138,7 @@ | |||||||
|                 "unlinkedCollapsed": true |                 "unlinkedCollapsed": true | ||||||
|               }, |               }, | ||||||
|               "icon": "links-coming-in", |               "icon": "links-coming-in", | ||||||
|               "title": "{Note} Pytest 的反向連結" |               "title": "{Note} Poetry 的反向連結" | ||||||
|             } |             } | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
| @ -162,12 +147,12 @@ | |||||||
|             "state": { |             "state": { | ||||||
|               "type": "outgoing-link", |               "type": "outgoing-link", | ||||||
|               "state": { |               "state": { | ||||||
|                 "file": "組織/EverfortuneAI/{Note} Pytest.md", |                 "file": "組織/EverfortuneAI/{Note} Poetry.md", | ||||||
|                 "linksCollapsed": false, |                 "linksCollapsed": false, | ||||||
|                 "unlinkedCollapsed": true |                 "unlinkedCollapsed": true | ||||||
|               }, |               }, | ||||||
|               "icon": "links-going-out", |               "icon": "links-going-out", | ||||||
|               "title": "{Note} Pytest 的對外連結" |               "title": "{Note} Poetry 的對外連結" | ||||||
|             } |             } | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
| @ -189,10 +174,10 @@ | |||||||
|             "state": { |             "state": { | ||||||
|               "type": "outline", |               "type": "outline", | ||||||
|               "state": { |               "state": { | ||||||
|                 "file": "組織/EverfortuneAI/{Note} Pytest.md" |                 "file": "組織/EverfortuneAI/{Note} Poetry.md" | ||||||
|               }, |               }, | ||||||
|               "icon": "lucide-list", |               "icon": "lucide-list", | ||||||
|               "title": "{Note} Pytest 的大綱" |               "title": "{Note} Poetry 的大綱" | ||||||
|             } |             } | ||||||
|           }, |           }, | ||||||
|           { |           { | ||||||
| @ -223,10 +208,10 @@ | |||||||
|       "obsidian-git:Open Git source control": false |       "obsidian-git:Open Git source control": false | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   "active": "da4efdc0e3adde70", |   "active": "23dfe70ddddd299f", | ||||||
|   "lastOpenFiles": [ |   "lastOpenFiles": [ | ||||||
|     "組織/EverfortuneAI/{Note} Poetry.md", |  | ||||||
|     "組織/EverfortuneAI/{Note} Pytest.md", |     "組織/EverfortuneAI/{Note} Pytest.md", | ||||||
|  |     "組織/EverfortuneAI/{Note} Poetry.md", | ||||||
|     "組織/EverfortuneAI/resources/test_your_code.png", |     "組織/EverfortuneAI/resources/test_your_code.png", | ||||||
|     "組織/EverfortuneAI/{Note} Nox.md", |     "組織/EverfortuneAI/{Note} Nox.md", | ||||||
|     "組織/EverfortuneAI/{Note} Packaging Python Project.md", |     "組織/EverfortuneAI/{Note} Packaging Python Project.md", | ||||||
|  | |||||||
| @ -32,5 +32,5 @@ tags: | |||||||
| 		- 透過``-n``引數調用,例如``pytest -n auto`` | 		- 透過``-n``引數調用,例如``pytest -n auto`` | ||||||
| 		- 若測試物件之間有依賴性,可使用xdist_group_mark將物件分群,同群的物件將會在同一行程內執行 | 		- 若測試物件之間有依賴性,可使用xdist_group_mark將物件分群,同群的物件將會在同一行程內執行 | ||||||
| 		- 平行化通常伴隨更多資源的消耗,使用時需小心~ | 		- 平行化通常伴隨更多資源的消耗,使用時需小心~ | ||||||
| 	- 善用[Fixture](https://docs.pytest.org/en/stable/explanation/fixtures.html#sharing-test-data)將某些資料暫存給後續測試使用,進一步節省測試時間 | 	- 善用[Fixture](https://docs.pytest.org/en/stable/explanation/fixtures.html#sharing-test-data)將某些資料共享或暫存給其他測試使用,進一步節省測試時間 | ||||||
| 	- Pytest也支援[pyproject.toml](https://docs.pytest.org/en/stable/reference/customize.html#pyproject-toml)進行配置哦 | 	- Pytest也支援[pyproject.toml](https://docs.pytest.org/en/stable/reference/customize.html#pyproject-toml)進行配置哦 | ||||||
		Reference in New Issue
	
	Block a user