问题描述
试图构建一个用户界面,任何人都可以在不了解 JS 或脚本的情况下运行量角器测试..他们应该从 github 存储库中获得可用的场景,他们只需选择要运行的场景
为此,您无需从头开始构建 UI.您需要设置的是像
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
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.
这篇关于如何从 UI 或 Web 界面运行量角器测试 - 只需从 github 中选择场景并运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!