crystal
crystal copied to clipboard
Move `Spec` context state into `Spec::CLI`
Follow-up to #14170. This includes the global variables inside Spec::RootContext.
CLI is at the moment still :nodoc:, we could change it any time we want.
prints_summary? reflects the fact that formatters don't depend on a context. Any other refactoring would introduce an equally "unrelated" change.
Not sure I understand what you mean. Wouldn't it be possible to apply the refactor from print_results to prints_summary? without the other changes? If it is, we should do it first, then move the other stuff around.