TestProductionCode2.c 664 B

123456789101112131415161718192021222324252627282930313233
  1. #include "ProductionCode2.h"
  2. #include "unity.h"
  3. #include "unity_fixture.h"
  4. TEST_GROUP(ProductionCode2);
  5. /* These should be ignored because they are commented out in various ways:
  6. #include "whatever.h"
  7. */
  8. //#include "somethingelse.h"
  9. TEST_SETUP(ProductionCode2)
  10. {
  11. }
  12. TEST_TEAR_DOWN(ProductionCode2)
  13. {
  14. }
  15. TEST(ProductionCode2, IgnoredTest)
  16. {
  17. TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose");
  18. }
  19. TEST(ProductionCode2, AnotherIgnoredTest)
  20. {
  21. TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet");
  22. }
  23. TEST(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented)
  24. {
  25. TEST_IGNORE(); //Like This
  26. }