How can you have nested tests with Minitest?

Viewed 2171

For example, in Jasmine, you can do this:

describe('Person', function () {
  describe('movement methods', function () {
    it('#run', function () {

    });
    it('#jump', function () {

    });
  });
});

With Minitest, it seems that you can't have a "movement methods" category. You'd have to just do:

class PersonTest
  def test_run
  end

  def test_jump
  end
end

Is there a way to nest in Minitest?

1 Answers
Related