在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ramonvictor/gulp-protractor-qa开源软件地址(OpenSource Url):https://github.com/ramonvictor/gulp-protractor-qa开源编程语言(OpenSource Language):JavaScript 93.4%开源软件介绍(OpenSource Introduction):gulp-protractor-qaKeeping end-to-end tests up-to-date can be really painful. Gulp Protractor QA can help us by warning whether protractor locators have their matches within a given set of AngularJS view files. Because code changes should not break our tests!How it works?Screencast
Install
Examplevar gulp = require('gulp');
var protractorQA = require('gulp-protractor-qa'); Registering the task gulp.task('protractor-qa', function() {
protractorQA.init({
runOnce: true, // optional
testSrc: 'test/e2e/**/*Spec.js',
viewSrc: [ 'index.html', 'partials/*.html' ]
});
}); Running it gulp.task('default', ['protractor-qa']); See final gulpfile.js example. APIprotractorQA(options)optionsrunOnceType: Optional: Set to testSrcType: Where the plugin should watch the changes in order to map all viewSrcType: Where your AngularJS view files are located. Protractor QA will watch the changes in those files to verify if all Watched selectors by gulp-protractor-qaGulp-protractor-qa is currently watching the following
Note: currently it can't find Changelog
License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论