A testing framework for factorio mods. Test real setups in-game, no mocking necessary!
describe("the factory", function()
it("must grow", function()
assert.is_true(get_factory_size() > old_factory_size)
end)
end)
- Framework inspired by busted
- Bundled luassert for assertions
- Integration with factorio debug adapter and typed-factorio
- A CLI for launching Factorio and running tests from the command line
For setting up your mod, see the wiki page on getting started.