Writing 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...Feb 11, 2023 路 8 min readunbusy.hashnode.dev
Let's have pit stopIntroduction In the previous chapter, I implemented the code for task 1. I however sighted a couple of issues with my code. For example, the CarPark class has mixed concerns; validating booking dates and creating bookings. As a result, our code is un...Jan 23, 2023 路 5 min readunbusy.hashnode.dev
Implementing the solution in JavaIntroduction Hello, and welcome back. Thank you for sticking around! In this chapter, I will put into action the design I created in the previous chapter. The tools I'll be using, as well as their versions, are listed in the series' introductory chap...Jan 14, 2023 路 12 min readunbusy.hashnode.dev
Designing an object-oriented solutionIntroduction In the previous chapter, I extracted all the information I could find from the problem statement. In this chapter, I will design a solution in terms of object-oriented principles. First, I will pinpoint all the relevant conceptual classe...Jan 12, 2023 路 3 min readunbusy.hashnode.dev
Extracting important information from the pre-release materialIntroduction In the previous chapter, I introduced you to my goals, the project, and the tools I will use during my Java learning adventure. In this chapter, I'll extract and try to understand the user requirements in the problem statement. In additi...Jan 11, 2023 路 5 min readunbusy.hashnode.dev