Tag: tdd
-
Understanding TDD and BDD : A Guide for developers
TDD refers to Test Driven Development and BDD refers to Behavior Driven Development; are fairly similar development approaches that both emphasize testing and collaboration, yet have major differences. TDD is more developer-centric, revolving around code correctness, with programming language-specific frameworks. On the other hand, BDD is more user-centric and revolves more around system behavior. In…
-
Why Traditional API Testing Fails? Comparing Shadow, Production, Replay Techniques
I want to share the story of how our team at a fast-paced startup tackled the challenge of API testing without any dedicated QA team, the roadblocks that we encountered, and how we ultimately addressed these issues. Baseline Challenge We had 15-day sprints including mandatory unit and API testing. Initially, we relied on automated testing.…
-
Testing BunJs Web Application with Cucumber JS and Keploy
In our previous blog, we explored how to build a modern web server using BunJs and Prisma, integrating robust authentication mechanisms with JWT tokens. Now, it’s time to ensure our application is reliable and error-free through thorough testing. In this blog, we’ll dive into testing methodologies using Cucumber JS and Keploy, both are a powerful…
-
Functional Testing: Unveiling Types and Real-world Applications
In the dynamic landscape of software development, ensuring that a software application functions as intended is paramount. This is where functional testing comes into play. In this blog post, we will delve into the realm of functional testing, exploring its types and providing practical instances to illustrate its significance in delivering high-quality software. Understanding Functional…
-
TestNG vs JUnit: Performance, Ease of Use, and Flexibility Compared
It’d be ideal if the software worked perfectly right from the start, but in reality, achieving such perfection demands thorough testing. This is where frameworks like TestNG and JUnit play a crucial, yet often underappreciated, role. They are among the most popular tools in the Java ecosystem, each with its unique approach to tackling the…
-
How to Generate Test Cases with Automation Tools
In the rapidly evolving domain of software development, ensuring the reliability and quality of applications is of paramount importance. With the growing complexity and scale of applications. This is where test automation plays a pivotal role, enabling software testers to improve efficiency, expand test coverage.In this article, we will delve into the realm of automating…
-
Automated End to End tests using Property Based Testing | Part I
” Engineers call them edge cases. I call them: what our users do ” – Noah Sussman Testing remains a crucial aspect of software development. Software engineers and quality assurance professionals make use of diverse techniques and methodologies to rigorously test applications. However, even with these measures in place, bugs can still emerge. In this…
-
E2E Test 101 Guide: Beyond Unit Tests for Full Coverage
There is often a philosophical debate about whether to write a unit test or an e2e test 101. This has been a common question I have encountered many times – when limited in time and resources, what kind of testing should be done? Weighing up such factors can be difficult, especially given that usually only…
-
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…
-
My Keploy API Fellowship Journey
I was talking with my friend about API the other day as he is learning Android development, and was telling me how to fetch data from different apps. For an instant, he didn’t know the full-form but knew how it worked.( not completely) I reached home and decided that I wanted to learn a little…