Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌐 Add Chinese translation for docs/zh/docs/advanced/testing-database.md #3821

Conversation

jaystone776
Copy link
Contributor

As title

@codecov
Copy link

codecov bot commented Sep 1, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cf73051) 100.00% compared to head (47999f0) 100.00%.
Report is 1086 commits behind head on master.

❗ Current head 47999f0 differs from pull request most recent head a1856ea. Consider uploading reports for the commit a1856ea to get more accurate results

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.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2021

📝 Docs preview for commit 47999f0 at: https://612ee4e2567a4837854f1020--fastapi.netlify.app

@tiangolo tiangolo changed the title Add Chinese Translation for docs\advanced\testing-database.md 🌐 Add Chinese translation for docs/advanced/testing-database.md Oct 5, 2021
@tiangolo tiangolo added awaiting-review lang-all Translations lang-zh Chinese translations labels Oct 5, 2021
@github-actions github-actions bot mentioned this pull request Oct 5, 2021

您还可以使用[测试依赖项](testing-dependencies.md){.internal-link target=_blank}中的覆盖依赖项方法变更测试的数据库。

实现设置其它测试数据库、在测试后回滚数据、或预填测试数据等操作。
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

您可能希望建立一个不同的数据库进行测试,在测试之后回滚数据,预先填充一些测试数据等等。

@@ -0,0 +1,97 @@
# 测试数据库

您还可以使用[测试依赖项](testing-dependencies.md){.internal-link target=_blank}中的覆盖依赖项方法变更测试的数据库。
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

您可以重写测试依赖项来更改数据库以进行测试。


本例中,要创建仅用于测试的临时数据库。

## 文件架构
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文件结构

@tiangolo tiangolo changed the title 🌐 Add Chinese translation for docs/advanced/testing-database.md 🌐 Add Chinese translation for docs/zh/docs/advanced/testing-database.md Jun 26, 2023
@tiangolo
Copy link
Owner

📝 Docs preview for commit a1856ea at: https://649a08dcbc5da10984e671e8--fastapi.netlify.app

@alejsdev alejsdev merged commit 1e8b44f into tiangolo:master Jan 28, 2024
30 checks passed
@alejsdev
Copy link
Collaborator

Thanks for your work @jaystone776 😎

And thanks for your help @zy7y 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved-1 lang-all Translations lang-zh Chinese translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants