Tag: unit-testing

  • Go Mocks and Stubs generator Made Easy

    Go Mocks and Stubs generator Made Easy

    Testing network stuff like APIs and database calls can be a real pain: I find myself burning way too much time just making mock data, instead of actually doing the tests or assertions. When you make fake mocks, you might end up using wrong guesses or data that’s just too unreal or vague. When things…

    by

    in
  • Simplifying JUnit Test Stubs and Mocking

    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…

    by

    in
  • What is unit testing anyways?

    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…

    by

    in
  • What is Mocha and keploy Testing?

    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…

    by

    in