How to color unit tests with lib minitest or Test:Unit?

前端 未结 7 1429
执念已碎
执念已碎 2021-02-04 06:42

I would like to have unit tests output color in my dev environment. However, I can\'t make it work on Linux (Debian and Ubuntu). When I include the following libs:



        
7条回答
  •  清歌不尽
    2021-02-04 07:20

    Give turn a whirl.

    Add this to your Gemfile:

    group :test do
      gem 'turn', :require => false
    end
    

提交回复
热议问题