Tag: unit-testing
-
Simplifying JUnit Test Stubs and Mocking
What’s the first thing that comes to your mind when you hear "mocking"? Is it an expression when you laugh by making fun of something? Well, If yes, don’t worry you are not alone as I thought the same initially. But, with time I understood the meaning of mocking concerning testing. So, let’s unfold the…
-
What is unit testing anyways?
Introduction: Unit testing is a technique of testing that emphasizes testing a particular piece of code. Unit testing is mainly done to test the functionality of a block of code i.e to check whether the code does what you expect it to do. But does that mean we have to test every functionality individually? An…
-
What is Mocha and keploy Testing?
Hello developers! I hope you are all enjoying the process of writing test cases. Let out a sigh of relief. No matter what type of application is being developed, it should always be tested before being released. Testing frameworks such as Jest, Jasmine, QUnit, Karma and Cypress are just a few of the many options…