```ruby
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require 'test/unit'
require 'active_support/test_case'
require 'rails/all'
require 'rails/generators'
require 'rails/generators/test_case'
```

Use minitest instead of test/unit.
user
```ruby
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require 'minitest/autorun'
require 'active_support/test_case'
require 'rails/all'
require 'rails/generators'
require 'rails/generators/test_case'
```
assistant