Tag Archives: Unit testing

Speeding up writing Unit Tests

Unit Tests writing, contrary to popular coding humour, is an important aspect of the development process. The process of writing Unit Tests reveals setbacks in one's code. It helps us identify complicated logic, magical functions, magic inside functions and non testable pieces of code (ex: - an if condition which is impossible to execute). Most of the programmers find writing Unit Tests tedious and cumbersome. But at Naukri we transform it into a fun way of learning more about the code base we are working on. Creating a test file is initially a repetitive process. It involves... Read More