Running user interface, unit and integration tests suites

By Chris Mcmahon

The problem of long running tests

User Interface, (UI) tests and certain kinds of integration tests like SOAP or REST API, are different than unit tests in many ways. For one thing, they take a long time to run. For another thing, they test not only the code, but also the whole environment in which the tests run. Also, they are not coupled to the code itself. We can be working in the test suite without regard for what is happening in the code base; and we can work in the code base without regard for the state of the test suite; and we can run such tests any time, as long as the underlying application has passed all its unit tests and is known to be in good shape.

The best approach I know to running a test suite that takes a long time to run is to do so inside an infinite loop: check out the latest tests; run them; get the test results and publish them; and then do the cycle over again, 24 hours a day, 7 days a week.


Continue reading »


For all tester

Testing Primer


Tester xuất sắc

Lạng lách

Tester xuất sắc phải là tay chuyên “lạng lách”. “Lạng lách” là ở chỗ: ai cũng có thể làm theo danh sách dài dằng dặc những test cases có đầy rẫy trong các sách dạy testing, nhưng tester xuất sắc lại có thể đi xa hơn cả cái danh sách này, và với tới một seri bất tận những phương pháp xương xẩu để acttack một chương trình.

Tester xuất sắc thường được giới developers phán là “đáng ớn” và “chập cheng”!
Continue reading »