ˈmiməkrē
the action or art of imitating someone or something, typically in order to entertain or ridicule. Lovey small project made in an evening to create something useful.
Can run in the commandline:
dotnet mimicry.server.dll
or embedded in your unittests.
[Fact]
public void E2ETestSmallOk()
{
using (var server = new EmbeddedServer("/foo", "bar"))
{
using (var client = new WebClient())
{
var foo = client.DownloadString(server.BaseUrl + "/foo");
Assert.NotNull(foo);
Assert.Equal("bar", foo);
}
}
}
Don't want to pay for online mocking services...
- Dependency Injection
- Headers
- Soap... classic but still in use
- Console parameter parsing
- Create NuGet package
- Authentication mocking
- Testing Testing Testing
- Admin panel for creating SQLite db with preloaded and transferable data
- Imports
- Exports
- Reports
- more lovely features
Help is always welcome, make a pull request or email me