Blogs tagged unit tests
-
Beside the short cases that end tidily, sometimes an ABAP Detective may work an investigation that takes longer and may not have an explicable or explicit case solved/message processed. This adventure had me booking tickets for a software beta test... Read More »1Comment3Likes -
Flaky tests (aka fragile, brittle or instable tests) are tests that fail or pass intermittently without any changes to the codebase. They are a common problem in software development and can be frustrating to deal with. However, it is... Read More »0Comments3Likes -
During a workshop, I asked the contestants to refactor the sources of the Ski Lift Price Kata by Dominik Panzer. We made three rounds with about 45 minutes per round and 15 skilled and experienced developers tried to identify, what the code does,... Read More »8Comments29Likes -
Automated tests have become an important part in my professional life as a software developer. However, you cannot always avoid external dependencies of individual methods you want to test. The more dependencies you have, the more cumbersome testing... Read More »23Comments14Likes -
Alexander Tsybulsky posted on September 8, 2018Hi Community, This post continues the series about unit test tool zmockup_loader. To recap, it allows to prepare big volumes of test data in excel and then conveniently use it in abap unit tests. The main application cases from our experience are:... Read More »4Comments2Likes -
Uwe Kunath posted on June 24, 2014What has been missing so far In one of my last blog posts, I showed you how mock objects can be easily created. I also showed you how mock object’s method calls can be counted and how verifications can be implemented, to ensure that a mocked... Read More »0Comments1Like -
Tomasz Mackowski posted on February 25, 2014In this blog I would like like to describe the idea of data-driven testing and how this can be implemented in ABAP Unit. Data-driven testing is used to separate test data and expected results from unit test source code. It allows running the same... Read More »6Comments14Likes -
Adam Krawczyk posted on April 15, 2013Hi, I believe that writing unit tests is very important to have reliable and good quality software. I heard many times from other developers that customers are not interested in unit tests as they do not want to pay for that, but do they want to... Read More »13Comments21Likes -
Adam Krawczyk posted on March 21, 2013Hi 🙂 In this blog I would like to present you technique which is used for business logic testing without database dependency. It is implemented with object oriented design. Many developers complain that they cannot write too much unit tests... Read More »18Comments41Likes