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

【Docathon】替换文档中的 tests/unittests 单测路径为新路径 #6140

Closed
SigureMo opened this issue Aug 26, 2023 · 0 comments · Fixed by #6195
Closed

【Docathon】替换文档中的 tests/unittests 单测路径为新路径 #6140

SigureMo opened this issue Aug 26, 2023 · 0 comments · Fixed by #6195
Assignees
Labels
good first issue Good for newcomers HappyOpenSource 快乐开源活动issue与PR

Comments

@SigureMo
Copy link
Member

Motivation

由于一些历史原因,Paddle 原有单测大多存放在 python/paddle/fluid/tests/unittests/ 下,目录层级较深,而且也有很多散落在其他目录

该问题已经在 PaddlePaddle/Paddle#51853 解决,单测已经统一迁移到了新的目录(即根目录下的 test/ 下),目录结构已经非常清晰

但是文档中仍有多处没有修改,特别是「贡献指南」,这可能会影响开发者添加单测,因此希望能够将文档中出现的相关路径替换为新的路径

Description

  • 在 docs repo 全局搜索 tests/unittests,将相关路径替换为迁移后的路径
  • 迁移后的路径可参考 单测目录迁移-ISSUES Paddle#51853,但更建议在 Paddle repo 最新 develop 分支里直接搜索文件名
  • 某些路径中带行号的(GitHub 链接),需要确保行号也是没问题的
@SigureMo SigureMo added the good first issue Good for newcomers label Aug 26, 2023
@sunzhongkai588 sunzhongkai588 self-assigned this Aug 28, 2023
@sunzhongkai588 sunzhongkai588 added the HappyOpenSource 快乐开源活动issue与PR label Sep 15, 2023
@sunzhongkai588 sunzhongkai588 changed the title 替换文档中的 tests/unittests 单测路径为新路径 【Docathon】替换文档中的 tests/unittests 单测路径为新路径 Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants