Skip to main content

Posts

Showing posts with the label inspection

The Importance of Static Analysis

Test is easy when you know how to test! However, test is hard if you know the just the meaning of 'test'. There are lots of test techniques, mainly static and dynamic tests . However the static test techniques focus on the code with out running it, dynamic test techniques focus on the functions with running the code. Therefore the differences can be explained by the meaning of static and dynamic .  In this post, I want to explain one of my experiences about the importance of static testing. Static testing has the following sub-title as: review, inspection, walk-through, desk-checking, proof-reading. Every item can be done by different people with different method and different level of formality. While the  inspection can be viewed by experienced person in very formal way leading by a moderator, walk-through can be performed by coder in order to give some information about the work. To get more information about static testing, you can read this post in Turkish.  Th

Statik Test Teknikleri

Statik test teknikleri yazılımın ürününe değil yazılımın ortaya çıkması için gerekli kod, gereksinim, döküman gibi çıktıların test edilmesiyle ilgilidir. Yani yazılım çalıştırılmaz uygun tekniklerle çıktıların üzerinden geçilir. Bu yüzden statik test teknikleri olarak anılır. Bu tür test tekniklerini yazar hem kendisi yapabilir hem de uzman kişilerden yardımlar alarak grup biçimde de yapılabilir.  Bireysel olarak yapılan gözden geçirme yöntemleri yazılımcının kendisinin yaptığı test yöntemleridir. Yazar bu yöntemlerle grup gözden geçirmeleri öncesinde kendi hatalarını azaltarak daha olgun bir bir çıktı ortaya koymak maksatıyla yapar. Bireysel statik test aktivitelerinde aşşağıdaki teknikler vardır: Desk Checking (masada kontrol): Yazılan kodun çıktısı alınır ve yazılımcı masa başında bilgisayardan yardım almadan satır satır kod üzerinden geçerek olayı simule etmiş olur. Yazılımcı mantık sorguları kontrol eder ve hataları kendi bulur.   Proof Reading (uzman deneyimi): Daha önceden yapı