FUnit


Unit testing framework for Factorio modding.

Internal
7 days ago
2.0
4

Changelog

Version: 0.4.1
  Minor Features:
    - 'on_event_do' will now pass event data to action.
    - Added documentation to README
Version: 0.4.0
  Features:
    - Added event mocking API.
  Minor Features:
    - Improved traceback on errors.
Version: 0.3.1
  Minor Features:
    - New test runner function, 'on_event_do': supports test logic that depends on in-game events.
Version: 0.3.0
  Features:
    - Improved Lua documentation and types.
    - Messages logged through test_runner are now printed to player as well.
Version: 0.2.1
  Bugfixes:
    - Fixed skipping all remaining tests after any failure.
Version: 0.2.0
  Features:
    - New test runner function, 'after_n_ticks_do': supports test logic that requires game evolution over multiple ticks.
Version: 0.1.2
  Bugfixes:
    - Removed test scenarios from mod zip.
Version: 0.1.1
  Minor Features:
    - Test runner improvements.
Version: 0.1.0
  Major Features:
    - Initial release.