Home - nsuttle/docs GitHub Wiki

Test Naming Conventions

  • TestDox ( Chris Stevenson )
    • A "object" can do X

          public class <object>Test {
      
          @Test
          public void canDoX() {...}
      

Why Test

  • You have nothing to lose but your bugs ( Freeman/Pryce )
  • Test suites protect us from ourselves providing a safety net and feedback loop
  • Few developers enjoy testing their code ( not real work, boring ) do this early as you won't come back to something that isn't enjoyable

Other notes

  • External vs Internal quality ( Freeman/Pryce p25 )
    • External - how well a system meets the needs of a customer
    • Internal - how well a system meets the needs of developers/admins - allow us to modify the system’s behavior safely and predictably.
    • Internal - is what lets us cope with continual and unanticipated change
⚠️ **GitHub.com Fallback** ⚠️