Lab Challenge

Java Challenge: TDD Bulk Discounting

Push your skills to the next level in a live environment

Lab Steps

lock
Java Challenge

The hands-on lab is part of this learning path

Java - Test Driven Development (TDD) using JUnit
course-steps
1
certification
1
lab-steps
2
1
824BBE59-AE15-4604-A78B-947B97E3F337 Created with sketchtool.
Start Lab Challenge
Difficulty

Beginner

Time Limit

1h

Students

13

Ratings
5/5
starstarstarstarstar
01
About Lab Challenges

Lab challenges are hands-on labs with the gloves off. You jump into an auto-provisioned cloud environment and are given a goal to accomplish. No instructions, no hints. To pass, you'll have a limited time to demonstrate your problem-solving skills and get the checks that inspect the state of your lab environment.

02
Challenge Description

Using Test Driven Development (TDD) practices, complete a partially provided Java11 solution, being guided by a set of given JUnit5 tests. Specifically, you must complete the implementation of a static method that calculates the volume discounts for an ecommerce platform, ensuring that the solution passes the provided set of JUnit5 tests.

What will be assessed

  • Your ability to perform TDD - completing a Java implementation guided by unit tests

Intended audience

  • Beginner Java developers

Prerequisites

  • Knowledge of Java 11 and JUnit
03
About the Author
Students56419
Labs44
Courses96
Learning paths46

Jeremy is a Content Lead Architect and DevOps SME here at Cloud Academy where he specializes in developing DevOps technical training documentation.

He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 25+ years. In recent times, Jeremy has been focused on DevOps, Cloud (AWS, GCP, Azure), Security, Kubernetes, and Machine Learning.

Jeremy holds professional certifications for AWS, GCP, and Kubernetes.