HubertWo / java-stream-kata

Java Stream Code Kata. ☕️ 🤺 Collection of small tasks with detailed answers in form of unit tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java Stream Kata

A code kata is an exercise in programming which helps programmers hone their skills through practice and repetition. https://en.wikipedia.org/wiki/Kata_(programming)

This repository contains different tasks related to Java Streams.

Leave a ⭐ :)

If you like the content do not forget to leave a star at the top right corner. Thank you!

https://github.com/HubertWo/java-stream-kata

Setup

Minimal setup is required. Tools you will need:

  • Java 11+
  • Maven
  • IDE (In my case IntelliJ IDEA)

How to run exercises

Each exercise is an jUnit test. You can run test from both Maven or any modern IDE.

Where are answers?

Each task has solution in "Click here to see the answer" block.

Branch with all answers

Branch answers has all answers in place and all tests are green.

Maven

To check task1 from Basics package:

mvn surefire:test -Dtest=BasicsTest#task1

IDE

After importing project press "Play" near the test you want to run.

More

About

Java Stream Code Kata. ☕️ 🤺 Collection of small tasks with detailed answers in form of unit tests.


Languages

Language:Java 100.0%