-
Notifications
You must be signed in to change notification settings - Fork 46
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
请问如何运行测试? #41
Labels
bug
Something isn't working
Comments
试了 src 目录下运行,还是同样输出:
关于部分测试没有输出因而无法比较期望值,木兰也有类似测试用例,比如 这些与界面相关的。木兰重现项目的自动测试是覆盖了语法功能测试等等,并且建了流水线(CI),以确保每次commit 都不会破坏基本功能: 要不先将 basic/ 下的纳入自动测试?可以将其他有输出的用例逐步添加,以扩大测试覆盖面。 |
这么奇怪的吗? 我这里怎么能运行:
|
哦你们都是 windows 环境吧?我是 mac。应该是路径斜杠问题,刚改成这样就好了: 在木兰里为跨平台运行测试是用了 pathlib 的 Path,见此。 |
nobodxbodon
added a commit
to nobodxbodon/Cantonese
that referenced
this issue
Jul 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在根目录下运行 src/test.py 未遍历所有例程:
另外,为自动验证运行结果,像 木兰重现项目之前这样 获取进程输出后与期望值作比较如何?
The text was updated successfully, but these errors were encountered: