A code kata is an instance of deliberate practice in computer programming. Katas are simple problems solved with a strict TDD style. The Hello World Kata is the simplest, and oldest, of the katas, predating even the term "kata" itself. In this video I work through the Hello World Kata using Eclipse.
Your main() method is totally untestable. Instead of greet() returning "Hello, World", should it not be greet(PrintStream outStream) which writes the message to outStream so you can mock System.out?
GodsBoss 8 months ago