Fuzz testing and CI with headless love
Posted: Wed Jul 27, 2016 7:36 am
Hi folks!
I haven't seen much talk about automated testing with Love, so I wrote a blog post about what I do in my game Bussard. It can be a bit tricky to figure out how to run a Love program in a headless environment for continuous integration, and since my game is open source I thought it might be helpful for others to learn from. I also have a neat (well, I think it's neat) setup for fuzz-testing (throwing random input at my program by inspecting the currently active key bindings) that might be useful for others. It's already found over a dozen bugs in my own codebase.
https://technomancy.us/180
Feedback welcome!
I also use the GitLab CI feature to continually run my tests (fuzz tests, regular tests, and luacheck linting) against git master and all incoming patches. It's really easy to set up and quite handy at helping people get into the habit of testing: https://gitlab.com/technomancy/bussard/pipelines
I haven't seen much talk about automated testing with Love, so I wrote a blog post about what I do in my game Bussard. It can be a bit tricky to figure out how to run a Love program in a headless environment for continuous integration, and since my game is open source I thought it might be helpful for others to learn from. I also have a neat (well, I think it's neat) setup for fuzz-testing (throwing random input at my program by inspecting the currently active key bindings) that might be useful for others. It's already found over a dozen bugs in my own codebase.
https://technomancy.us/180
Feedback welcome!
I also use the GitLab CI feature to continually run my tests (fuzz tests, regular tests, and luacheck linting) against git master and all incoming patches. It's really easy to set up and quite handy at helping people get into the habit of testing: https://gitlab.com/technomancy/bussard/pipelines