Debian Codegraph @

README

raw
1 LeMock Readme
2
3
4 == What is Lua Easy Mock ==
5
6 LeMock (Lua Easy Mock) is a mock creation module intended for use together
7 with a unit test framework such as lunit or lunity. It is inspired by
8 EasyMock (for Java), and strives to be easy to use.
9
10
11 == Availability ==
12
13 LeMock is hosted at LuaForge at http://luaforge.net/projects/lemock/
14
15
16 == Installation ==
17
18 Copy the file build/lemock.lua to a Lua search path directory. This is
19 usually something like ``/usr/share/lua/5.1/`` or
20 ``/usr/local/lib/lua/5.1/``. You can type ``print(package.path)`` at the
21 Lua prompt to see what search path your Lua installation is using.
22
23 Documentation in HTML format is available in build/htdocs/.
24
25
26 == License ==
27
28 LeMock is licensed under the MIT license, which is the same license that
29 Lua uses. See COPYRIGHT_ for full terms.
30
31
32 == User Documentation ==
33
34 See build/htdocs/userguide.html.
35
36
37 == Development ==
38
39 LeMock is implemented in Lua 5.1, but its source code is written as
40 literate documents, and uses the tool noweb to tangle the .lua files. The
41 distributed source archive includes all the tangled files, to avoid
42 depending on noweb for installation. See DEVEL_ for information about how
43 the source code is organized, and what tools are needed for the build
44 process.