Sudip Parajulisudipparajuli.hashnode.dev·Apr 12, 2024Comprehensive Guide to Testing REST APIs: Best Practices, Tools, and ExamplesAs a software developer, you know that writing code is just the start. To make sure your app works as expected and lasts, you need to test it thoroughly. This is especially important for building REST APIs, where a bug can have big consequences. In t...Discuss·5 likes·235 readsmockito
HassanProhassanyu.hashnode.dev·Mar 31, 2024How to Implement POM Design Pattern with SeleniumIn this article, we'll discuss the advantages of using the Page Object Model (POM) for automated testing with Selenium, Java, and JUnit 5. First, we'll explain what POM is and then try writing tests without it. During this process, we'll note any dif...Discuss·134 readsselenium
Christian LehnertProblog.christianlehnert.dev·Mar 29, 2024JUnit TestWatcherJUnit provides developers with various tools to enhance their testing experience. One such tool is the TestWatcher interface, which allows you to observe and react to individual test execution phases in JUnit. What is a TestWatcher? TestWatcher serve...DiscussJava
Roshan Melantaroshanmelanta.hashnode.dev·Feb 18, 2024Integration testing of APIs in Spring-Boot( Java) with JUnit | For BeginnersRemember that unforgettable feeling of buying a brand-new car? Now imagine taking it for a spin without checking the engine, brakes, or even turning it on. Building software without thorough testing is like that – a recipe for disaster. This post is ...Pritesh Usadadiya and 1 other are discussing this2 people are discussing thisDiscuss·11 likes·97 readsJava
Ever A. Olanoabyteortwo.com·Feb 6, 2024Catching Exceptions in Unit TestsThis was quite serendipitous as I was just about to start looking for a blog topic that started with the letter "C". It just fell on my lap today while reviewing someone else's pull request, particularly their unit tests. This is specifically about J...Discussjunit
HAMZA BRAIMIbraimi.hashnode.dev·Jan 19, 2024🛠️ Mastering Unit Testing with Mockito and JUnit5! 🚀When you're creating a Java application, ensuring it works as expected is crucial. This is where JUnit testing comes in. JUnit is a unit testing framework for the Java programming language, playing a crucial role in test-driven development (TDD) to e...Discuss·42 readsMockit
Abhayabhayit2000.hashnode.dev·Jan 9, 2024JUnit: A Complete GuideSoftware and application testing is an integral part of any development process as it helps to ensure the quality of software targeted toward a specific end-user community. By identifying and correcting defects early in the development process, softw...Discussjunit
Saniya Gazalasaniyagazala.hashnode.dev·Jan 3, 2024JUnit Tutorial: An Inclusive Guide [With Enhanced Features]JUnit is a widely used open-source framework in Java, mainly for testing projects in a straightforward manner. Combined with Selenium, it becomes a handy choice for testing websites and web applications. Although Selenium and JUnit can work independe...Discussjunit
Christian LehnertProblog.christianlehnert.dev·Dec 25, 2023Java Mutation Testing: A Comprehensive GuideMutation testing is a powerful approach for enhancing the quality and effectiveness of your unit tests. It involves making small changes (mutations) to your program's source code and checking if the existing tests detect these changes. In Java, sever...Discuss·1 like·356 readsJavaJava
Pranshu SrivastavaforKeploy Community Blogkeploy.hashnode.dev·Dec 13, 2023TestNG vs JUnit: Performance, Ease of Use, and Flexibility ComparedIt’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 t...Discussjunit