devel/lua-lunitx 0.8.2 FreeBSD
Extended version of lunit, a unit testing framework for Lua
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
12bbc8b1ec- License
- MIT
- Categories
- devel
- Package size
- 10.8 KiB, 35.8 KiB installed
Description
Lunitx is a unit testing framework for lua, written in lua, based heavily on Lunit 0.5, but modified to work with Lua 5.2. Lunitx provides 27 assert functions, and a few misc functions for usage in an easy unit testing framework. Lunit comes with a test suite to test itself. The testsuite consists of approximately 710 assertions.
Install
Binary package:
pkg install lua54-lunitx
From the ports tree:
cd /usr/ports/devel/lua-lunitx/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= lua54-lunitx>0:devel/lua-lunitx
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.8.2 | 0.8.2 | - | 0.8.1 | 0.8.2 |
| FreeBSD:14:quarterly | 0.8.2 | 0.8.2 | n/a | 0.8.1 | 0.8.2 |
| FreeBSD:15:latest | 0.8.2 | 0.8.2 | n/a | 0.8.1 | 0.8.1 |
| FreeBSD:15:quarterly | 0.8.2 | 0.8.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.8.2 | 0.8.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 2
No port depends on this one.
Configuration
Options name: devel_lunitx
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- lua:52-55
- Service scripts
- none
- Conflicts with
- lua${LUA_FLAVOR}-lunit
Files
pkg-plist 8
- %%LUA_MODSHAREDIR%%/lunit.lua
- %%LUA_MODSHAREDIR%%/lunit/console.lua
- %%LUA_MODSHAREDIR%%/lunitx.lua
- %%LUA_MODSHAREDIR%%/lunitx/atexit.lua
- share/examples/lua54-lunitx/both.lua
- share/examples/lua54-lunitx/down.lua
- share/examples/lua54-lunitx/example.lua
- share/examples/lua54-lunitx/up.lua
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| dcurrie-lunit-0.8.2_GH0.tar.gz | 18596 | d25450188ebd05828a2acf3137a09ad41f4ba09fd4ccd83119744ccf590bb685 |