There is nothing about test doubles in minitest documentation

Minitest includes doubles, mocks and stubs. But there’s nothing in the doc about it.

Anyone wants to help add it?

Are you thinking because the Rails API docs about minitest are rather empty?

While the official minitest docs, seem to cover Mock and stub.

No I was thinking of the Rails guides.

Yeah, I think we could add a section describing more of the Minitest API, and links to those docs, like we do for assertions:

Tbh, this guide is already too long and should be broken up into separate parts IMO. But that doesn’t mean we can’t add a note about other facilities of MT here.

1 Like

I agree with your proposal.