阅读背景:

Django测试,交易和角度量角器

来源:互联网 

I use django-rest-framework for backend and angularjs for frontend. I started write e2e tests using protractor and faced with a problem, that after each test all changes in database are saved. In django every test is enclosed in a database transaction that is rolled back at the end of the test. Is there a way to enclose in transaction every protractor test? I know that I can use django live server, python-selenium and write tests in python, but then I lose advantages of protractor.I use django-rest-framework for backend and ang




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: