RegistryCI.jl
RegistryCI.jl copied to clipboard
Remove SimpleMock and only use BrokenRecord?
So, currently, our test dependencies include the following:
- BrokenRecord.jl - does not use Cassette
- SimpleMock.jl - uses Cassette
Out of curiosity, would it be feasible to remove SimpleMock and only use BrokenRecord? I only ask because Cassette can be inconvenient to work with sometime. (E.g. currently we skip the Cassette-based steps on Julia nightly on CI.)
So I guess the question is:
- What tests currently use SimpleMock?
- Can all of those tests be migrated to use BrokenRecord only?
cc: @christopher-dG
I think most of its uses can be replaced, but not trivially. There is one instance of mocking now where that test would just need to be removed.