Analysis updated 2026-07-11 · repo last pushed 2012-03-15
Set up a single fake dependency in a unit test while the rest are handled automatically.
Test a payment processor without manually creating fakes for the database, email, and tax services.
Add or remove dependencies from a class without breaking existing tests that don't use them.
Reduce boilerplate setup code in C# test suites that use the Moq library.
| kayone/automoq | atrblizzard/vtmb-sbox-mounter | kayone/log4mongo-net | |
|---|---|---|---|
| Stars | — | 0 | — |
| Language | C# | C# | C# |
| Last pushed | 2012-03-15 | — | 2012-07-03 |
| Maintenance | Dormant | — | Dormant |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a C# project already using the Moq testing library, install AutoMoqer via NuGet package manager.
AutoMoqer is a tool for C# developers that automatically creates fake versions of the external dependencies a piece of code needs to run. When you're testing a specific piece of software, that code often relies on other systems or components like a database or an external service. Instead of forcing you to manually create fake versions of all those dependencies every time you write a test, this tool handles it for you. The tool acts as a smart container. You tell it which class you want to test, and it automatically figures out what other components that class needs to function, creating placeholder versions of them. If your test only cares about checking how the code interacts with the database, you can specifically configure that one fake database dependency. Meanwhile, all the other dependencies that your test doesn't actually care about are handled quietly in the background without requiring your attention. This tool is designed for developers who write automated tests for their code and want to save time. For example, imagine a developer testing a payment processing system that relies on a database, an email service, and a tax calculator. Normally, they would need to create fake versions of all three components just to test the payment logic. With this tool, they only need to set up the email service if that is what their test is focused on, because the tool handles the rest automatically. The creator built this project to solve two specific frustrations they kept encountering. First, whenever they added or removed a dependency from their code, all their existing tests would break, requiring tedious updates. Second, they were tired of manually creating and tracking fake components in their tests, especially when those fakes had nothing to do with what they were actually trying to verify. The project builds on an existing testing library called Moq, extending it to eliminate repetitive setup work.
AutoMoqer is a C# testing tool that automatically creates fake dependencies for your code so you only have to set up the ones your test actually cares about, saving you from repetitive manual setup work.
Mainly C#. The stack also includes C#, Moq, .NET.
Dormant — no commits in 2+ years (last push 2012-03-15).
The license for this repository is not specified in the available information, so it is unclear what permissions or restrictions apply to its use.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.