ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل Salauddin Mohammad , Sr. Manager, Software Development , Aspen Technology Inc
تاريخ النشر: 2014/08/18
ABU SAIF MOHAMMAD MAHIN, PMP
من قبل 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
من قبل 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
من قبل Baha Khoury , Technical Project Manager , Zeva International

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

Wael Mohamed Ibrahim
من قبل 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

المزيد من الأسئلة المماثلة