Reading Time: 3 minutes Java 9 comes with some static factory methods in Map, Set and List Interface. The factory methods are super helpful when we are using collections.
Reading Time: 3 minutes Hi guys, Let’s discuss the concept of Date and Time in Java 8. Well, it was already there then why again in java 8? That is because previously we have many issues in working. So, there are many improvements in java 8 which we will see here. Advantages over old Date-Time API First, we see how the new API is better than the older one: Continue Reading
Reading Time: 2 minutes Hola Amigo, have you ever wondered that when we can achieve concurrency or parallelism with threads, then what on Earth are other available options doing. Let’s have a closer look. Threads: A unit of concurrency Same old theory repeated once more,“Threads are nothing but independent paths of execution. These can help in efficient use of the resources when used cautiously.” What we can achieve using Continue Reading
Reading Time: 3 minutes It’s been a while since the release of Java 11 and with that, some new functions have been introduced on String. These functions provide additional functionalities and computations to be done on String then the existing one. Through the course of this blog, we will explore those functions one by one along with some examples. These String functions have been added as a part of Continue Reading
Reading Time: 2 minutes It’s pretty simple to ingest data in the Postgres using the insert query, but in the big data world, we have a lot of data that we can not insert using insert queries. We get the data in CSV files that we want to import directly to the Postgres. It will take a lot of effort and time if we will try to import these Continue Reading
Reading Time: 2 minutes In this blog we are going to discuss an approach to run multiple tests using JUnit and for this task we will user JUnit Platform Launcher API. We are going to create a demo project in Maven that uses the Launcher API to discover and run tests. Lets add some dependencies to our Maven project: <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.6.0</version> </dependency> <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> <version>5.6.0</version> Continue Reading
Reading Time: 6 minutes A quick intro about Rest Assured? Integration of TestNG with Rest-Assured What is JSON Server and how to set it up. How to create or setup a project? Let’s get to our first question. What is Rest Assured? In brief Rest Assured is nothing but a JAVA library or a set of JAVA APIs for testing and validating RESTful webservices. In other words, REST Assured Continue Reading