Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What techniques are programmers using to write maintainable integration/functional/acceptance tests?

Integration/Functional/Acceptance tests are inherently difficult to maintain for a myriad of reasons: they take a long time to run, are hard to keep green consistently, can fail seemingly randomly, are cumbersome to debug, etc. etc. However, they can be priceless, if one manages to have a reliable non-unit test suite.

Is having such a suite, merely a pipe-dream? How are teams able to manage a consistently green, low maintenance non-unit test suite?

like image 957
Prem C Avatar asked Nov 14 '22 03:11

Prem C


1 Answers

This won't answer the question fully, but here goes. For Java, I use Junit4 (testing) and EclEmma (code coverage). For Javascript, I use Jasmine (testing) and JSCoverage (code coverage).

like image 141
Chetter Hummin Avatar answered Dec 09 '22 18:12

Chetter Hummin