Testing
Crystal Spec Framework: Testing in Crystal with describe, it, and expect
Crystal ships with a built-in testing framework: crystal spec. It uses an RSpec-like API with describe, it, context, before_each, after_each, and expect. No external library needed. This guide covers writing Crystal specs, using matchers, testing exceptions, and setting up CI. Key Takeaways Crystal's Spec