Daniel Brauer

Results 22 comments of Daniel Brauer

Ah I see now: the faketorio entry point is appended to the control file. That makes it very easy to expose things.

Setting things up manually is always cumbersome. :D My use case is that I'd like to be able to execute one command and have all my faketorio tests run, just...

Factorio does handle SIGINT properly, so you can ask it to shut down externally once results are finished

I just found the command line `--until-tick`, which seems to run Factorio without any graphics until the specified tick and then terminate. This might not be useful for UI testing...

I don't have any UI to test, so headless would be great for me. I guess it probably doesn't load any graphics either, but presumably still does all the data...

I'm pretty sure that time does pass as part of the simulation, even if it's headless. I can see the lack of a player being limiting, but there's still lots...

So even with all these limitations I think I would really like the following: - I specify a set of scenarios - a scenario can optionally specify an existing saved...

Ah, `coroutine` is out: https://lua-api.factorio.com/latest/Libraries.html ):

I think it would be fine to have busted as a dependency

Ah yeah, I just read up on how you can't include external libraries in Factorio. Would it be possible to automatically get the dependencies using luarocks?