Learn how to make multiple assertions using TestNG’s SoftAssert and find out why that is a valuable tool for writing clean tests with reduced debugging time.
Also find me here:
Baeldung Author
Lucian Snare
I'm a software engineer with a passion for helping people and making the world a better place. I have developed enterprise Java and Spring applications for close to ten years, in areas ranging from ecommerce to science to public government services. I believe it's my responsibility to share my experiences to help others write better software. In my free time, I enjoy spending time with my family, reading, and being in nature.
Here's what I've written (so far):
Baeldung on Java
- All
- Testing (2)
- Java Map (1)
- Java Concurrency (1)
- JSON (1)
How to Collect All Results and Handle Exceptions With CompletableFuture in a Loop
Filed under Java Concurrency
Learn how to collect the results of multiple CompletableFuture executions while also handling exceptions in Java.
Solving the ParameterResolutionException in JUnit 5
Filed under Testing
Learn how to solve the ParameterResolutionException in JUnit 5.
Resolving Gson’s “Multiple JSON Fields” Exception
Filed under JSON
Discuss the causes for a tricky yet ultimately fixable IllegalArgumentException we can encounter when using Gson
How to Write and Read a File with a Java HashMap
Filed under Java Map
Explore three methods for writing to and reading from a file with HashMap data.