- Notifications
You must be signed in to change notification settings - Fork4
Fully dynamic mocking for Lua
License
NotificationsYou must be signed in to change notification settings
mockagne/mockagne
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
mockagne
is a fully dynamic mocking framework that is designed to be a Lua variant of the famous Java frameworkmockito.
localmockagne=require("mockagne")localmock=mockagne.getMock()mockagne.when(mock.say(mockagne.any())).thenAnswer("Hello world")-- ...mock.ask("What's your name?")mockagne.verify(mock.ask("What's your name?"))
mockagne
is a single-file pure-Lua module with no other runtime dependencies than Lua 5.1 or later.
Dependency | Purpose | License |
---|---|---|
busted | Unit testing framework | MIT License |
mockagne
is Open Source, distributed under the terms of theMIT license.
Copyright (c) 2013 Punch Wolf Game Studios.Copyright (c) 2020Exasol.
About
Fully dynamic mocking for Lua
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Contributors4
Uh oh!
There was an error while loading.Please reload this page.