how to run protractor test from UI or web interface - just select scenario from github and run

流过昼夜 提交于 2019-12-25 19:08:38

问题


trying to build a UI where anybody can run protractor tests without having knowledge of JS or scripts..they should have scenarios available to them from the github repo and they just choose which one to run


回答1:


For this, you don't need to build a UI from scratch. What you need to setup is a Continous Integration Envrionment like Jenkins. Then you can create "Jobs" that contain choice parameters for running different tests.

Here is an example of one of my Jenkins Jobs for running the core suite of my tests with different options that I created and all get passed to Protractor.



来源:https://stackoverflow.com/questions/44767498/how-to-run-protractor-test-from-ui-or-web-interface-just-select-scenario-from

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!