TDD example

  • TDD example:
    • Create a nothing() test that asserts that an empty test is working.
    • Create a test that creates the class you are going to work with.
    • Create the class.
    • Assert it's empty
    • Add push, assert it's not empty
    • Add pop
    • ... so on