Phillip Ninanpninan.hashnode.net·Sep 6, 2020FeaturedWhy Do I Write Tests?I was asked recently why I write tests for my code. This is a topic I have spent a lot of time discussing and teaching others about so I decided to write a post documenting my answers. Story Line Let’s say a QA engineer finds a bug in a web applicati...Discuss·43 likes·319 readsTesting Your Codejunit
Shalini Baskaranshalinibaskaran.hashnode.net·Dec 27, 2021JUnit 5 vs. TestNG: Choosing The Right Framework For Selenium Automation TestingA framework is a backbone for testing or development activities. It is a set of components that helps frame the tests, execute the tests, and generate the final report of execution. The approach used for designing the test automation framework plays ...Discuss·30 likes·142 readsjunit
Phillip Ninanpninan.hashnode.net·Sep 9, 2020How to Write Great Tests!In my previous post, I discussed a nifty sorting test. Today, I am going to teach you how to write great tests! When I write a new JUnit test I follow the same formula. This allows my tests to be written and read in a consistent manner. It also help...Discuss·24 likes·264 readsTesting Your CodeJava
Ishita Ghoshforishitaghosh.hashnode.net·Apr 5, 2023JUnit Explained: An Introduction to the Industry-Standard Testing FrameworkIf you're a Java developer👨💻, it's crucial to verify that your code functions as intended and is error-free to avoid any issues for end-users🕵️♂️. What is JUnit?🤔 JUnit, a widely-used testing framework,💻 allows you to test individual code unit...Discuss·11 likes·35 readsunit testing
Wilfred DubeforUnbusyunbusy.hashnode.net·Feb 11, 2023Writing unit tests for the solution using JunitIntroduction In this chapter, I'll see if the requirements of Task 1 were correctly implemented and are functioning as expected. I'll begin by detailing how to add JUnit to our Java application in IntelliJ IDEA, and then I'll go through all of the va...Discuss·41 readsMy Java journeyJava
Tahanima Chowdhurytahanima.hashnode.net·Feb 10, 2023Selenium WebDriver with Java—Getting StartedSelenium WebDriver is a general-purpose browser automation library. Its capabilities are widely used to build automated end-to-end test suites for web applications. Automated end-to-end tests, which occupy the top layer of the testing pyramid, are es...Discuss·1.8K readsselenium
Rana M Zubairforranamzubair.hashnode.net·Feb 5, 2023Unit Testing With JunitHave you ever been into a problem where the application just gets messed up after refactoring or making some changes to the code? Well, this is exactly what happens if the unit tests coverage for the application is not there. I also did not care abou...Discuss·3 likes·83 readsWeMakeDevs
Emanuel TrandafirforEmanuel's Blogtrandafire.hashnode.net·Jan 22, 2023How SOLID Are Your Unit Tests?Four rules to ensure your unit tests are following the Single Responsibility Principle — the “S” in S.O.L.I.D. 1. Each Test Has a Single Call to The Production Code The first mistake we can make is to have a single test to check different things. Thi...Discuss·1 likeJava
MadhurendraforMaddymaddyraj.hashnode.net·Jan 22, 2023Java is incomplete without these Libraries and APIs. 8 Libraries and APIs every JAVA developer should know in 2023.Software development is incomplete without having a programming language. Libraries and APIs are making programming languages strong and powerful. How good and experienced Java developer depends on how extensive knowledge of API, including JDK and th...Discuss·36 readsJava
Khushiyant ChauhanforKhushiyantkodein.hashnode.net·Jan 14, 2023Automating Build, Test, and Release in DevOpsIntroduction DevOps is a methodology that aims to streamline the process of software development by integrating the development and operations teams. One of the key ways to achieve this is through the use of automation tools in the build, test, and r...Discuss·3 likes·57 readsDevops
Isuruforisuru.hashnode.net·Jan 8, 2023Unit Testing JSON Functions in AndroidWorking with JSON is very common in Android apps. Parsing API responses, reading JSON files, creating JSON objects to send to a server are some examples of it. And like the good programmer you are, you likely want to write unit tests to test function...Discuss·44 readsAndroid
Ada Chengadafycheng.hashnode.net·May 30, 2022Execution pit-mutation of goal org.pitest:pitest-maven failedProblem Execution pit-mutation of goal org.pitest:pitest-maven:1.8.0:mutationCoverage failed: Please check you have correctly installed the pitest plugin for your project's test library (JUnit 5, TestNG, JUnit 4 etc). [ERROR] [ERROR] Please copy an...Discuss·82 readsProgramming Log Bookjunit
Maheshwar Ligadefortechwastitechwasti.hashnode.net·May 21, 2022Log or Display on console names of test method executed by Junit5!As you are making applications cloud-native and 12 factor-based app development. Unit testing and automation testing is now the norm in the development cycle. First, write down unit test cases and then start the development, or in standard words, it...Discuss·10 likes·34 readsunit testing