未知
nosetalisker的Python项目详细描述
为每个测试输出一个cprofile stat转储文件的nose插件。
安装
pip install nose-talisker
文件名的格式为:
module-name.class-name.test-name.elapsed-milli-seconds.timestamp.prof
例如:
zamboni.apps.files.tests.test_views.TestFileViewer.test_view_access_reviewed.001448ms.2011-06-09T01:50:34.323206.prof zamboni.apps.files.tests.test_views.TestFileViewer.test_view_access_reviewed.001577ms.2011-06-09T01:56:51.694283.prof
选项
- prof_path:要写入的目标目录。如果不是临时的 将为您创建一个。如果提供目录,它必须存在。
用法
nosetests –with-talisker –prof-path=/tmp/output
本模块设计用于Talisker使用和查看配置文件 结果。该格式故意基于 命令扩展模块,具有相同的选项命名。
许可证:BSD 作者:安迪·麦凯,andym@mozilla.com