Software testing: why shouldn't developers test their own code?

Posted: 2023-08-03
Written by: Michał Zaczyński

Application testing is an integral part of software development. Yet, there are still instances where the need for testing systems is questioned. Can a developer test an application then? Yes, they can. Would that be a good idea, though? Definitely yes. Does testing the system by developers suffice? There is a short and simple answer to this question: no, it’s not enough. Why? Michał Zaczyński, our software testing expert, shares his thoughts on it.

 

Objectivity in testing comes first

Humans, by nature, are incapable of objectively evaluating their work, and when time constraints add to this, an evaluation often ends up being superficial. The same thing can happen when developers test their own code. Typically, they focus primarily on an application’s main, most significant, and most positive paths while leaving out what happens if something gets wrong. The reason this approach is usually taken doesn’t stem from a lack of knowledge or willingness to test; in fact, I wouldn’t even dare to suggest that. In most cases, this is due to a lack of time to think deeply about potential problems and sentimentality about the code itself. Testers in task-dedicated roles have no connection to the application under test, and the goals they are charged with are quite different from those of developers. The tester’s job is to verify that the application works correctly, and they are relentless in their search for every detail that affects performance. Despite the sincerity of the programmer behind the work, they may not be entirely objective.

 

Second, developers are not jacks of all trades

There is little understanding of techniques such as pair-wise testing, decision tables, and classification trees and how they work among developers. No surprise there! Ultimately, these are not application development issues but application testing ones. There is far more to it than just crossing over an application; it is a process requiring particular knowledge and experience, as well as the implementation of appropriate techniques, whether formal or informal. Software testing is a full-fledged specialization within the IT industry. To test the increasing complexity of systems being developed, one needs extensive knowledge in the area, which must be continuously supplemented on top of that. Our testers are certified by ISTQB, an organization that sets the highest standards in software testing. Solwit has been its Platinum Partner for almost twelve years as one of two companies in Poland.

Third, everyone has a role to play in the testing process

Roles between testers and developers are not solely based on their knowledge. They each belong to a different software development stage, meaning neither is better nor worse. Cooperation is vital; even the best-prepared application can only stand with it.

For instance, during requirements gathering, when the developer is responsible for preparing the architecture, the tester should assess whether verifying the correct implementation of each task will be possible. As the developer implements the next steps of the application, the tester checks its quality by testing the completed modules. At the end of the development process, the tester must often confirm whether the application is ready for release. While they may not have the final say, their experience, and opinion often significantly impact whether the system under test is given the green light.

The myths surrounding developer-tester collaboration are numerous.  Luckily, most of those stories fall within the realm of fairy tales. Creating close-knit, interdisciplinary teams is what we do every day because we understand that a working, tested application relies on an array of competencies.

 

Fourth, investing in testing pays off

Last but not least, there is the financial aspect. Although the IT market shows that testers and developers are equalizing, a tester still costs less per hour than a developer. This should serve as the ultimate argument, especially for decision-makers, that developers should use 100 percent of their time on application development tasks and leave testing to testers. Having this handled by specialists will ensure optimal results and save you money.

One more thing…Though fitting it into any of the above categories may be difficult. However, I find it highly significant, if not the most important. Developers (mostly, but not always!) are not very fond of testing, so if you assign this task to them, they will perform it cursorily and may even become frustrated, resulting in a change of jobs. Bearing in mind the well-being of the development team and the preceding factors, it is worth handing over software testing to specialists who will ensure the quality of the application produced.

If you are seeking a technology partner who will take care of your application’s quality – plan the test process, select the type of tests, configure the framework, and prepare the test environment, you have come to the right place!

We prepared a set of answers to our customers’ ten most frequently asked questions about software testing. If you still don’t find answers to the questions that trouble you, get in touch with us and set up a free consultation with our software testing experts.

Written by: Michał Zaczyński,
Test Automation Domain Expert

Test Automation Domain Expert who has been with Solwit for over ten years. He’s a flesh and blood tester – his experience includes Quality Assurance activities, work with IEEE/ISO standards, and supervision of test projects. In his view, a competent specialist combines practical experience with theoretical understanding, seasoned with a dash of “that something” one must possess.

CONTACT US
Complete
the form below.
We will contact you to set up
a conversation at the convenient
moment for you.