protractor-styleguide
protractor-styleguide copied to clipboard
conditional cases
I believe that we can have a look over this. It seems like a generally rule of thumb. http://howtoprogram.eu/question/angularjs-protractor-protractor-jasmine-conditional-test-cases,4391
Link to original source with more info: http://stackoverflow.com/questions/37748394/protractor-jasmine-conditional-test-cases
I am kind of torn as to whether this belongs in the Protractor Style Guide or somewhere else - an idea for a new project? It seems more like a BDD best practise (i.e properly separating tests into arrange, act, assert), and could equally be applied to Jasmine tests for Angular code. What does anyone else think?
I think we can still add this as a rule, implying that one should properly separate tests using the BDD best practices.."arrange, act, assert".