Why I would prefer writing 100 unit test to one UI test
Choosing between writing one UI tests and 100 Unit test I would always prefer the second option. Why?
Well, I am actually lame with UI testing, but that not the main reason.
The only thing I worry about is speed. How fast we can change software? Quality - I don't care about it much cause quality standards are contextual and can change. The only thing that is certain - there're going to be changes and we most likely don't know what those changes are about. So there's only one thing that matters - how fast we can adapt to this change.
Internal quality is something that actually makes us able to change fast. UI tests do not contribute to internal quality. UI tests may even make things worse.
That is the reason.
And I invite you to Testcon Moscow to talk about this more - I am going to present some more thoughts on this topic there.
Well, I am actually lame with UI testing, but that not the main reason.
The only thing I worry about is speed. How fast we can change software? Quality - I don't care about it much cause quality standards are contextual and can change. The only thing that is certain - there're going to be changes and we most likely don't know what those changes are about. So there's only one thing that matters - how fast we can adapt to this change.
Internal quality is something that actually makes us able to change fast. UI tests do not contribute to internal quality. UI tests may even make things worse.
That is the reason.
And I invite you to Testcon Moscow to talk about this more - I am going to present some more thoughts on this topic there.
Comments
Post a Comment