Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Do you write unit tests for your code? What are the challenges you have in having unit tests? Please share your experiences

user-image
Question added by Salauddin Mohammad , Sr. Manager, Software Development , Aspen Technology Inc
Date Posted: 2014/08/18
ABU SAIF MOHAMMAD MAHIN, PMP
by ABU SAIF MOHAMMAD MAHIN, PMP , Head of Design and Production Engineering, Financials Solutions , Southtech Limited

Automated unit testing is very useful as it will reduce unit testing time significantly. Identify test cases and prepare test data for automated testing is most challenging. We are using JUnit for automated unit testing.  

Ahmad Waseem Alkazimi
by Ahmad Waseem Alkazimi , Android Developer , Mawdoo3.com

you must use unit test on your code because that best for programer to find error during occurrence

that give more efficient to your code, fastest to find error

Baha Khoury
by Baha Khoury , Technical Project Manager , Zeva International

You need to focus mainly in doing "Test-driven development".

Wael Mohamed Ibrahim
by Wael Mohamed Ibrahim , Head of Software Applications & Development , ELSewedy Electric

Of course you have to use Unit Tests for your code, but not all your code!

if there is a certain business senario you put for a function you should use unit test and code coverage to make sure that all the senarios are covered.

it might consume some time, but you should plan them from the very begining of the project

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.