faketorio icon indicating copy to clipboard operation
faketorio copied to clipboard

Run automatic tests for your mod inside Factorio

Results 22 faketorio issues
Sort by recently updated
recently updated
newest added

For CI systems like travis it's difficult to get the full client for a couple reasons * One needs to be logged in to download the full factorio * Downloading...

The two functions should also default to the first player if none is provided.

bug

[In the forum](https://forums.factorio.com/viewtopic.php?f=25&t=53215) it was requested to be able to click on certain children or say something like "click on the first child of the third child of this element"

Especially for longer running testsuites it would be cool to see the errors on the fly and not just only after the testrun is complete.

using `faketorio.check()/uncheck()` does not trigger a [on_gui_checked_state_changed](https://lua-api.factorio.com/latest/events.html#on_gui_checked_state_changed) event like it should do.

bug

It should be possible to spawn new players and control them

enhancement

Faketorio needs a way to assert results. Either we pull in a lib (complicated) or just copy the needed basic asserts (easy)

design decision

Its hard to see what scenarios have been run and which not. It would be cool to have a "default log" of all executed features/scenarios.

enhancement

Minor thing, but when I run `/faketorio` in-game, the results window appears, but there doesn't seem to be a way to dismiss it, if I want to run the tests...

It would be cool to generate a luacov coverage report. It should be fairly simple to integrate luacov Depends on #40