Skip to content

codeworks-jvm/Kata-Java-AFunctionHasNoName

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Kata-Java-AFunctionHasNoName

This kata is inspired by the golden master refactoring method.

Instructions

You have clean a function already in production. In order to help you in your task, someone has created 105 tests golden master to ensure that the function still works as expecting after your cleaning.

All you know is that the function takes in parameter one string and return a string.

Rules & examples

Try to make the code the as easy as possible and readable.

Code

In the src/main/java folder, you will find the class App with the current implementation to clean.

Test it

You can use mvn test to test your code. If all tests pass, you don't have break the function !

First install the dependencies with mvn clean install -DskipTests. Thanks.

Optimisation & clean code

Find the easiest implementation. Keep your code as clean as possible (easy to read, understandable ...).

About

This kata is inspired by the golden master refactoring method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages