Mor*_*ive 18 jasmine protractor
在我的量角器测试脚本中,我使用通常的表示法:
describe("mytest") {
...
it(" should do this") {
...
it(" should do that") {
Run Code Online (Sandbox Code Playgroud)
我希望能够在运行它时看到每个测试以及每个测试的哪个部分正在运行.我可以使用任何选项将测试描述输出到控制台吗?
And*_*s D 13
您可以使用--verbose选项打印有关测试的更多信息,但它不会告诉您当前正在运行哪个测试.
如果您需要该功能,我建议您创建一个问题.https://github.com/angular/protractor/issues/new
$ ./node_modules/protractor/bin/protractor protractor-config.js --verbose
------------------------------------
PID: 7985 (capability: chrome #1)
------------------------------------
Using the selenium server at http://localhost:4444/wd/hub
angularjs homepage
should greet the named user
todo list
should list todos
should add a todo
Finished in 5.915 seconds
3 tests, 5 assertions, 0 failures
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
10586 次 |
最近记录: |