πŸ§ͺ Project: Test Suite Builder

πŸ“š Lesson 10: Testing Your Code ⏱ 30-35 min πŸ“Š Intermediate
🎯 Objective

Write a comprehensive test suite for a utility library. Practice organizing tests with groups, using various matchers, testing edge cases, and achieving high code coverage.

Requirements

  1. Create a StringUtils class with methods to test
  2. Write tests organized in groups and subgroups
  3. Use a variety of matchers (equals, contains, throwsException, etc.)
  4. Test edge cases: empty strings, null values, special characters
  5. Write async tests for simulated operations
  6. Use setUp and tearDown for test preparation