Lab Challenge

Java Challenge: TDD Bulk Discounting

Push your skills to the next level in a live environment
Start Lab Challenge
Difficulty

Beginner

Time Limit

1h

Students

176

Ratings
4/5
starstarstarstarstar-border
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
Students114832
Labs65
Courses113
Learning paths159

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, Terraform, Kubernetes (CKA, CKAD, CKS).