Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
更改鼻子测试的详细报告格式
我正在使用运行我的测试nosetests在详细模式下 test cache region tests test sysutil TestCachedMethodDecorator ok test expire tests test sysu
python
Nose
nosetests
支持非致命故障的 Python 测试框架
我正在评估自动化系统测试的 测试框架 到目前为止我正在寻找一个Python框架 在 py test 或鼻子中 我看不到类似我从谷歌测试框架中知道的 EXPECT 宏的东西 我想在一个测试中做出多个断言 同时不在第一次失败时中止测试 我在这些
python
Testing
assert
Nose
在鼻子测试中打印不同的长描述以及测试名称 python
我正在使用命令 nosetests test py 运行时仅打印描述的第一行 我想要完整的描述以及测试名称 我怎么做 测试 py 文件 import unittests class TestClass unittest TestCase d
python
Nose
pythonunittest
如何禁用鼻子测试的覆盖率报告
希望有一个简单的 python djangonose测试问题 虽然我找不到答案nose的文档 运行测试后如何停止显示覆盖率报告 manage py test 我的覆盖率报告有一个巨大的问题 迫使我向后滚动几十行以获取失败测试的回溯 这确实中
python
django
Testing
Nose
Python:基于nosetest是否运行的条件变量
我正在运行鼻子测试 它有一个设置功能 需要加载与生产数据库不同的数据库 我使用的 ORM 是 peewee 它要求在定义中设置模型的数据库 所以我需要设置一个条件变量 但我不知道使用什么条件来检查 nostest 是否正在运行该文件 我在
python
Nose
peewee
如何使用 --timid 标志来覆盖鼻子
我想使用运行 nosetests with coverage 内德 巴切尔德 Ned Batchelder 的报道模块 http nedbatchelder com code coverage 但将 timid 标志传递给覆盖模块 有没有办
python
Nose
codecoverage
如何在 Python Selenium 中实现类似 TestNG 的功能或在一个测试套件中添加多个单元测试?
假设我有这两个鼻子测试ExampleTest1 py和ExampleTest2 py ExampleTest1 py class ExampleTest1 TestBase def testExampleTest1 self if name
python
unittesting
selenium
pythonunittest
Nose
在主 Django 数据库上运行 Unittest
我正在寻找一种在 django 测试期间运行完整 celery 设置的方法 在此询问其他问题 https stackoverflow com questions 20638751 run a celery worker that conne
python
django
Testing
Celery
Nose
Python 3.3:使用nose.tools.assert_equals时出现DeprecationWarning
我正在使用nosetest工具来断言pythonunittest https docs python org 3 3 library unittest html from nose tools import assert equals as
python
deprecated
python33
Nose
pythonunittest
安装并添加到 PATH 后,“nosetests”在 Windows 上无法识别
I m on 艰难地学习 Python 的练习 46 http learnpythonthehardway org book ex46 html 我打算安装鼻子并运行鼻子测试 我已经使用pip安装了nose 但是当我在 tests 文件夹上
python
installation
Nose
nosetests
如何在 Python 中生成 HTML 单元测试输出?
我正在寻找任何方法来在 HTML 摘要中显示 Python 单元测试的结果 对于 Java 和 Ruby 有这样的工具 尚未找到任何似乎可以为 Python 执行此操作的工具 那里有吗 JUnit HTML 输出 source ibm co
python
unittesting
Nose
让 `nosetests` 脚本按 Python 版本选择文件夹
我曾经有过这个setup cfg file nosetests where test python toolbox 但现在我通过提供两个并行代码库来支持 Python 2 和 Python 3 其中一个位于source py2文件夹和其中一
python
python3x
Nose
运行鼻子测试并将警告作为错误?
跑步时nosetests从命令行 如何指定 不可忽略 警告应被视为错误 默认情况下 会打印警告 但不计为失败 snip service accounts database py 151 SADeprecationWarning Use se
python
unittesting
warnings
Nose
用鼻子重复进行单次或多次测试
如同这个问题 https stackoverflow com questions 4088354 is it possible to use nose to run one test multiple times concurrently
python
Nose
使用鼻子进行测试的 Python 导入 - 导入当前包之上的模块的最佳实践是什么
这是一个经常以不同形式被问到的问题 并且经常得到 哈哈 你做得不对 的回答 很确定这是因为人们 包括我 尝试使用一个常识性场景作为实现 并且解决方案并不明显 如果您以前没有这样做过 会接受 让飞出瓶子 的答案 Given project i
python
Testing
Nose
pythonimport
Nose 未运行 Django 文档测试
如同这个问题 https stackoverflow com questions 2614363 why isnt django nose running the doctests in my models 然而 就我而言 我的模型都没有d
python
django
unittesting
Testing
Nose
即使测试通过,鼻子测试跑步者也会显示日志记录
我在用nosetests test py运行单元测试 import unittest import logging class Test unittest TestCase def test pass self logging getLog
python
unittesting
logging
Nose
将python测试运行信息导入sonarqube
我有一个具有如下结构的 python 项目 我正在尝试将其导入 SonarQube root sonar project properties src test nosetests xml 所有测试文件都在 test 文件夹中 osetes
python
SonarQube
Nose
sonarqubescan
通过“python setup.py test”将命令行参数传递给nose
套餐设置 我已经构建了一个Python包 它使用nose http nose readthedocs io en latest 供测试用 所以 setup py包含 test suite nose collector tests requi
python
commandlinearguments
Nose
setuppy
在 python 中使用鼻子进行并行化测试
我有一个包含大量 py 文件的目录 例如 test 1 py test 2 py 等 每个文件都经过正确编写 可以与鼻子一起使用 因此 当我运行 notests 脚本时 它会找到所有 py 文件中的所有测试并执行它们 我现在想要并行化它们
python
Nose
nosetests
1
2
3
»