How to use H2 DB in Core Java Project

How to use H2 DB in Core Java Project

Hey, Tea Lovers! Today let鈥檚 look at how you can use an in-memory database to test a core Java project, specifically H2 DB. The official name of H2 DB is H2 Database Engine. I will focus on it in the testing and not on the main project. I just want to give you a glimpse of how you can get started with it. I would highly recommend for the database logic or testing you shouldn鈥檛 rely upon In-Memory databases, always have Integration Test鈥檚 in this scenarios. Use this tool for a small or temporary test. ...

November 20, 2021 路 8 min 路 Imran Shaikh
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