We use minitest for Sinatra's test suite but we weren't using its rake task. I've updated the Rakefile to require and use Minitest default rake task to simplify.
Another change is to rename the `helper.rb` file to `test_helper.rb` because I think that name is used more in the community and require it directly without calling `File.expand_path`
This reverts commit 2ccd0dc29d.
It doesn't make sense to have this in master when it is not working. CI
will install Rack 3 and fail jobs. We don't know if we break something
for Rack 2 now.
* Allow running with Rack 3.
* Pull in `rack-session` gem if needed.
* Try again.
* Use separate gemfiles for testing.
* Better test titles.
* Fix dependency on rack-test.
* Add rackup gem.
* Fix server registration.
* Update rack version constraints
Co-authored-by: Jordan Owens <jkowens@gmail.com>
- updated minitest to 5.0
- Removed Test::Unit::TestCase and started using Minitest::Test instead
- Fixed usage of assert_raise
- Fixed usage of refute_nil
- Fixed and removed usage of assert_nothing_raised