Lessons learned from studying Fizzy test suite
testdrivingrails.comΒ·1dΒ·
Discuss: Hacker News
πŸ›Fuzzing
Preview
Report Post

Fizzy

The Fizzy application is a new play on Kanban board and project management. It has a comprehensive test suite focused mostly on unit and integration tests, althought other types of test are also present. The test suite is well-organized and follows Rails conventions with some application-specific patterns for multi-tenancy and UUID handling. Can we find more than that?

Test suite

Here’s the bird eye view on the test directory:

test/
β”œβ”€β”€ application_system_test_case.rb # System test configuration
β”œβ”€β”€ test_helper.rb  # Main test configuration
β”œβ”€β”€ test_helpers/  # 8 custom test helper modules
β”œβ”€β”€ fixtures/  # 32 fixture files with test data
β”œβ”€β”€ models/  # 74 model test files
β”œβ”€β”€ controllers/  # 52 controller test files
β”œβ”€β”€ system/  # 1 system test file
β”œβ”€β”€ channels/...

Similar Posts

Loading similar posts...