🌐 Add Chinese translation for docs/zh/docs/advanced/testing-database.md#3821
Merged
alejsdev merged 3 commits intofastapi:masterfrom Jan 28, 2024
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3821 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 540 410 -130
Lines 13969 10281 -3688
===========================================
- Hits 13969 10281 -3688 ☔ View full report in Codecov by Sentry. |
Contributor
|
📝 Docs preview for commit 47999f0 at: https://612ee4e2567a4837854f1020--fastapi.netlify.app |
docs/advanced/testing-database.md
Closed
zy7y
approved these changes
Feb 9, 2022
|
|
||
| 您还可以使用[测试依赖项](testing-dependencies.md){.internal-link target=_blank}中的覆盖依赖项方法变更测试的数据库。 | ||
|
|
||
| 实现设置其它测试数据库、在测试后回滚数据、或预填测试数据等操作。 |
There was a problem hiding this comment.
您可能希望建立一个不同的数据库进行测试,在测试之后回滚数据,预先填充一些测试数据等等。
| @@ -0,0 +1,97 @@ | |||
| # 测试数据库 | |||
|
|
|||
| 您还可以使用[测试依赖项](testing-dependencies.md){.internal-link target=_blank}中的覆盖依赖项方法变更测试的数据库。 | |||
|
|
||
| 本例中,要创建仅用于测试的临时数据库。 | ||
|
|
||
| ## 文件架构 |
zy7y
approved these changes
Feb 9, 2022
…testing-database.md
docs/advanced/testing-database.mddocs/zh/docs/advanced/testing-database.md
Member
|
📝 Docs preview for commit a1856ea at: https://649a08dcbc5da10984e671e8--fastapi.netlify.app |
Member
|
Thanks for your work @jaystone776 😎 And thanks for your help @zy7y 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As title