1
我最近发现了Django LiveServerTestCase
并用它来运行Selenium
测试用例(python manage.py test
)。我喜欢的是它会在后台自动运行Selenium服务器。Django LiveServerTestCase +鼻子
我想从Jenkins
囤测试例,发现这些commands
nosetests --with-xcoverage --with-xunit --cover-package=myapp --cover-erase
pylint -f parseable myapp/ | tee pylint.out
不幸的是,他们没有在执行脚本运行Django的测试服务器(和初始化数据库等)。
有没有什么我可以用nose
来处理LiveServerTestCase
Django会这样做的吗?