z_mirror/flib

git clone https://git.raiguard.me/z_mirror/flib

compilatronMove to version 0.17.388a5e3b

trunk
7 files

files

README.md521 B
dictionary-lite.lua2.7 KiB
factorio_luaunit.lua114.6 KiB
gui-lite.lua12.4 KiB
position.lua2.2 KiB
slots.lua1.3 KiB
test_math.lua3.8 KiB

To run tests with vscode test explorer or lua.

Adds package.searcher for __modname__ requires. Adds some package.path(s) because path explosion will make it find the correct file. This framework sets up the following. Adds generic versions of global factorio functions (defines, log, table_size).

Test Explorer extension, search for tests, run tests (optionally debug tests) Code Runner (.run) extension, just run the file Sumneko vscode: run/debug should work. Lua: From the mod root run lua tests/test_name.lua