What is unit testing method-naming convention that you follow? 

devquora
devquora

Posted On: Feb 22, 2018

 

The convention you follow should have every information required by the method name in a structured manner. Unit tests name should act like the documentation giving a clear idea of what functionality is tested. There are various techniques that could be used to name unit tests. Some of them are the following: Given… When… Then… Should… etc.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    JUnit Interview Questions

    Explain what is JUnit?

    JUnit is a testing framework for unit testing.  It uses Java as a programming platform, and it is an Open Source Softw..

    JUnit Interview Questions

    Mention what is the difference between JUnit and TestNG?

    JUnit TestNGIn JUnit the naming convention for annotation is a bit complicated for, e.g., “Before”, “After”..

    JUnit Interview Questions

    Mention different methods of exception handling in JUnit?

    Exceptional or analogous conditions during program execution require special processing methods and this exception hand..