Tabs
。sum_of_cubes.py
。# TODO:
开头,并简要概述。verify.sh
中使用 Shell 编写测试,而是使用 unittest
编写规范的单元测试用例。return
返回结果,方便使用 unittest
编写规范的单元测试用例。"showstderr": true
,以便在测试失败时显示详细的错误信息,方便用户 Debug。assets
目录中,通过在 index.json
中配置 assets 字段 复制到环境用户目录。unittest
编写规范的单元测试用例,可以学习和参考 exercism/python。_test
结尾。sum_of_cubes_test.py
。assets
目录中,通过在 index.json
中配置 assets 字段 复制到 /tmp
目录中,方便测试时用户不可见。solutions
目录中,名称与基础代码文件一致,如:sum_of_cubes.py
。最终绑定到 index.json
。