[Me] :- So which kind of testing is better- Testing only through GUI or Testing Beyond GUI?
[Guruji]:- Both have their pros & Con’s
Testing only through the GUI | Testing 'beyond' the GUI |
is expensive | fast set-up and tear down |
limited insight | analyzing dependencies, using mocks, fakes and fault-injection |
often only 'happy path' | single aspect per test |
multiple aspects in one test | tests are following the system-design |
slow | cheaper, faster, more frequent execution |
maintenance intensive | less maintenance |
long feedback loop | more stable |
little confidence | short feedback-loops; early start |