JUnit 5 Introduction for TDD Development in Java

Java's TDD is Now Boosted with Junit5

Hey, Tea Lovers! This post is the start of a new series of posts on TDD development in Java. This will be a quick introduction to JUnit 5. It won鈥檛 be about JUnit 4 vs. JUnit 5 instead, we will be focusing entirely on JUnit 5 and how as a beginner, you can start working on it right off the bat. Let鈥檚 jump right into it. I will keep on adding more posts on the topic such as Best practices, tips, and tricks, advanced testing, and many more. So please subscribe to our newsletter for new updates. ...

August 7, 2021 路 7 min 路 Imran Shaikh
Convert Milliseconds to LocalDateTime in Java8 & Above

Convert Milliseconds to & from LocalDateTime in Java8 & Above

Hey, Tea lovers! This short post is about how you can easily convert the milliseconds to a LocalDateTime Object. This is a very short guide on how to create LocalDateTime via milliseconds. I will also show you the opposite, that is, converting LocalDateTime to milliseconds. Note that, if you want to convert it to LocalDate instead of LocalDateTime, the process is similar. Requirement for the Conversions Well, you will only require Java. Since LocalDateTime or LocalDate in java was introduced from Java 1.8, you will require Java 8 or higher. ...

July 31, 2021 路 3 min 路 Imran Shaikh
Things to love in Java 11

The Things I Love and Use from Java 11

Hey, tea lovers! Since its inception, Java is dying. It is now 25 years old and it is dying. After 10 years again, people will say Java is dying. Well, it is something I and every Java developer are fed up with hearing. Let us keep ignoring it and focus on what Java is providing to keep up with the latest trend or requirements. I will be going over the things I think have improved the productivity of the developer since Java 11. We will talk about Java 11 only since it is LTS (Long Term Support) version and many people are using this only until the next LTS. Make your tea sip and code with Java 11. ...

August 22, 2020 路 5 min 路 Imran Shaikh