Description
Given XML reports from protractor, this library will construct the grep
param to run the failing tests
Supports sharded configuration
HOW TO USE
install this library
npm install -g ptor-xunit-grep-builder
configure your protractor to export reports to xml (in onPrepare()
phase )
// for sharded configurationjasmine; // for regular configurationjasmine; // alternatively, to have support for specs as well// tested on configuration for running in parallel.return globalbrowser;
add a retry code to you build script - her is an example
#!/usr/bin/env bash echo "#########################################################################################" echo " attempt ${i} " echo "#########################################################################################"} i=1# run first time and then retry over and over again first_run ||
Roadmap
- tests
- Make usable with less boilerplate
- buzz with post and publishing