NanowarOfSteel / HelloWorld

426 stars 28 forks source link

Introducing the Ultimate Unit Test Saga for the Legendary HelloWorldMainLauncherClass! 🛡️⚔️ #10

Closed christianbaumann closed 23 hours ago

christianbaumann commented 1 day ago

By the Power of Silicon, behold our quest to conquer code quality! 🔥

In the grand tradition of epic battles and glorious riffs, we present to you:

  1. songRefrain_printsCorrectNumberOfTimes_whenFooIsPositive: Witness the melodic chant of "Hello World!" echo properly throughout the code realm when the mystical foo is positive! 🎸

  2. falseMethod_throwsNullPointerException: Summon the mighty NullPointerException, a clash of code titans ensuring no mortal code shall pass unchecked! ⚡

  3. main_printsExpectedMessages: Through the fires of platform differences, we capture OS-independent output, rivaling the epics of old! No newline left behind! 🌍


Pom.xml Enhancements:

Join us in this quest, noble programmers, as we forge our path to pristine, bug-free code! Let the testing anthems ring true across the servers! 🤘

NanowarOfSteel commented 23 hours ago

You are a hero, my friend! However, since the song is linked to the code we wrote, we cannot merge this pull request as it would change the lyrics of the already released song. Thanks so much anyway!

erik-burigo commented 1 hour ago

You are a hero, my friend! However, since the song is linked to the code we wrote, we cannot merge this pull request as it would change the lyrics of the already released song. Thanks so much anyway!

But this to not be the case any longer. 🤔 The diff now only adds a test class without modifying the song lyrics.