mockcompose generates mocking implementation for Go classes, interfaces and functions (by kelveny)

Mockcompose Alternatives

Similar projects and alternatives to mockcompose based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better mockcompose alternative or higher similarity.

mockcompose reviews and mentions

Posts with mentions or reviews of mockcompose. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-06.
  • mockcompose to generate mocking implementation for Go classes, interfaces and functions
    3 projects | /r/golang | 6 Jul 2021
    As a Go newbie, the on-boarding process to Golang went relatively smoothly except a small glitch when it came to search for a mocking framework to test out a Go class implementation. I was a bit surprised to realize that I was not able to find a on-shelf tool to help me mock a class method. It might be an edge case scenario that I wanted to mock a class method, but I do believe that this is a valid use case, so I went ahead to spend a weekend building such a tool: mockcompose. It was originally aimed to just solve this one particular use case, therefore, it had to be used together with mockery (one of the great tools I found during my search in the period). I later refined the tool to cover mocking code generation for Go interfaces and functions, mockcompose can now be used in most of Go unit test scenarios. Please check it out and give it a try, I hope the tool is useful, feel free to drop your feedback and share with your opinion there.
    3 projects | /r/golang | 6 Jul 2021
    Part of reason that I went ahead to build mockcompose was for to improve test coverage of an existing project without major refactoring. Another reason is for completeness of a mocking tool to cover all possible aspects in unit-test scenarios that Go technically allows. It was meant to use it with Go best practices in mind.


Basic mockcompose repo stats
3 months ago

kelveny/mockcompose is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of mockcompose is Go.

Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.