GithubHelp home page GithubHelp logo

isabella232 / lmock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luadist/lmock

0.0 0.0 0.0 148 KB

lmock is a mock framework for Lua, a toolkit for unit-test.

Home Page: http://luaforge.net/projects/lmock/

License: Other

Shell 0.23% Lua 99.77%

lmock's Introduction

		lmock by Wenhai Huang

lmock is a mock framework for lua , a toolkit for unit-test

You can download newest lmock from:
http://luaforge.net/projects/

if you have any problems, any suggestions, or find any bugs, you can mail to me.
you are welcom!
[email protected]


**HOW TO INSTALL IT
run thie cmd in the shell:
make install
beware it is a local install, this means it install to ~/bin.
~/bin/lmock
~/bin/lua/lib/lmock


**HOW TO USE IT
first you write some test code like sample.lua, donot forget write down LuaUnit:run() at last line;
next step, save your test code to file, maybe called foo.lua;
then run this cmd in the shell:
lmock foo.lua






acknowledge
luaunit
******************************************************************
******************************************************************
		luaunit.lua  by Philippe Fremy

Luaunit is a testing framework for Lua, in the spirit of Extrem Programming.

Luaunit is derived from the initial work of Ryu Gwang but has evolved a lot
from the original code as my understanding of lua progressed.

Luaunit should work on all platforms supported by lua. It was tested on
Windows XP and Gentoo Linux.

Luaunit is used extensively in yzis (www.yzis.org), a vi clone, in order to
test the lua binding of the editor.

You can download luaunit from:
http://luaforge.net/projects/luaunit/


History:
========

v1.2: first public release

v1.3: ported to lua 5.1


lmock's People

Contributors

drahosp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.