BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.20.8.2-0.8.10.8.2
FreeBSD:14:quarterly0.8.20.8.2n/a0.8.10.8.2
FreeBSD:15:latest0.8.20.8.2n/a0.8.10.8.1
FreeBSD:15:quarterly0.8.20.8.2n/an/an/a
FreeBSD:16:latest0.8.20.8.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild 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
FileSizeSHA256
dcurrie-lunit-0.8.2_GH0.tar.gz18596d25450188ebd05828a2acf3137a09ad41f4ba09fd4ccd83119744ccf590bb685

Commit history 1

DateCommitCreditsLog message
12bbc8b1ec Pat Maddox devel/lua-lunitx: Update to 0.8.2
Release 0.8.2 adds Lua 5.5 support. Changelog: https://github.com/dcurrie/lunit/blob/0.8.2/CHANGES While here, update my maintainer email. Approved by: dch (mentor) Pull Request: https://github.com/freebsd/freebsd-ports/pull/552