Verifying passed arguments partially

Recently, I was working on a project and I missed a case in unit tests. I didn’t want to verify each argument but rather wanted to check if an object has a certain attribute set. In the older versions of mockito, this wasn’t doable. Since mockito 2.1, you can now do argument verification through argThat. Let’s see an example of […]

Refactoring Untested Code

Refactoring is in general restructuring the code without changing its behavior. By behavior, I mean what the outside world can observe, inputs and outputs, data persisted, messages sent, and visible side effects. If those remain the same, users and upstream systems will not notice the difference, even if the internals look completely different. The key point here is the behavior […]

Yazılım Mühendisliği Mülakatlarına Hazırlık Rehberi

Yazılım mühendisliği mülakatları her geçen gün daha da zorlaşıyor. Mülakatlara iyi bir sonuç almak ise yılların birikimi ve insanın mülakat esnasındaki performansı ile doğru orantılı. Bu yazımda sizinle nacizane mülakat tecrübelerimi paylaşmak ve mülakatlara nasıl hazırlanabileceğinizi anlatmak istiyorum. Mülakatı tek seferlik bir ya tamam ya devam olarak görmeyin. Bu bir süreç. Mülakatın Doğası Herşeyden önce mülakat sadece bir defaya mahsus […]