вторник, 17 марта 2015 г.

Testing of calculator №0. The beginning

Original in Russian: http://programmingmindstream.blogspot.com/2014/02/0.html

Table of contents

“The introductory” is here - http://programmingmindstream.blogspot.ru/2014/02/rumtmarc.html .

The project of calculator sent by Vsevolod Leonov is here - https://bitbucket.org/ingword/lulinproject/

Using this example I’ll try to tell about tests and changes in the architecture of the application towards “testability”.

Let me put it straight – the project I mentioned does not have any “own” architecture, except for the one set by VCL library.

“Simple buttons”, simple “logic on form”.

That’s not bad for “small on-the-knee projects”. However, at some point, it makes our life harder, and so we have to “change something”.

But! STRAIGHT AWAY rushing for changes seems unreasonable to me.

To begin with, one should try to cover at least some of features by at least minimal testing.

I.e. FIRST “at least some tests”, only THEN – “changing of architecture”.

I’ll write about testing of this application in the next post.

Комментариев нет:

Отправить комментарий