Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fully dynamic mocking for Lua

License

NotificationsYou must be signed in to change notification settings

mockagne/mockagne

Repository files navigation

Build Status

mockagne is a fully dynamic mocking framework that is designed to be a Lua variant of the famous Java frameworkmockito.

In a Nutshell

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?"))

Information for Users

Dependencies

Runtime Dependencies

mockagne is a single-file pure-Lua module with no other runtime dependencies than Lua 5.1 or later.

Test Dependencies

DependencyPurposeLicense
bustedUnit testing frameworkMIT License

License

mockagne is Open Source, distributed under the terms of theMIT license.

Copyright (c) 2013 Punch Wolf Game Studios.Copyright (c) 2020Exasol.


[8]ページ先頭

©2009-2025 Movatter.jp