InterviewSolution
| 1. |
I Have Heard That Testing Code Is Like Development Code. It Needs To Be Architected, Refactored And Maintained Like Production Code? |
|
Answer» No this is not correct. Automation code SHOULD be simplistic without too many conditions/loops/inheritance etc. It is even OK to have DUPLICATION in automation code. If a script fails, one should be ABLE to right AWAY suspect the application under TEST RATHER than the testing code. This can only happen if the testing code is trivially simple. No this is not correct. Automation code SHOULD be simplistic without too many conditions/loops/inheritance etc. It is even OK to have duplication in automation code. If a script fails, one should be able to right away suspect the application under test rather than the testing code. This can only happen if the testing code is trivially simple. |
|