```ruby
require "minitest/autorun"
require "minitest/reporters"

# for attaching tests to rubymine
MiniTest::Reporters.use!

require 'mocha/setup'
```

Use MiniTest reporters only if ENV['RUBYMINE'] set
user
```ruby
require "minitest/autorun"
require "minitest/reporters"

# for attaching tests to rubymine
MiniTest::Reporters.use! if ENV['RUBYMINE']

require 'mocha/setup'
```
assistant