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

Feat/unit test #438

Merged
merged 6 commits into from
Apr 2, 2024
Merged

Feat/unit test #438

merged 6 commits into from
Apr 2, 2024

Conversation

SAKURA-CAT
Copy link
Contributor

@SAKURA-CAT SAKURA-CAT commented Apr 2, 2024

Description

  • 进行单元测试规范示例,在vscode中用如下方式查看他们(文件名称需以pytest开头,内部需要运行的测试函数以test_开头):
image
  • 对test文件夹做了规范,相关的测试用例将保存在此处,其余一些测试代码应该放在playground文件夹下

  • 对一些错误捕获的优雅性做了一些构思,这将在后面的维护中体现

@SAKURA-CAT SAKURA-CAT self-assigned this Apr 2, 2024
@SAKURA-CAT SAKURA-CAT added the 📚 documentation Improvements or additions to documentation label Apr 2, 2024
@SAKURA-CAT SAKURA-CAT merged commit 184c57c into main Apr 2, 2024
@SAKURA-CAT SAKURA-CAT deleted the feat/unit-test branch April 2, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant