flywaldair (Skynet dev.) Posted March 2, 2020 Posted March 2, 2020 (edited) Hi Guys, While working on my Skynet IADS Script, I came to the point where I wanted unit tests to make sure I did not break parts of my existing code while adding new features. I adapted LuaUnit to work with DCS, you can view the code and a demo mission here: https://github.com/walder/Skynet-IADS/tree/master/unit-tests I did not write a unit test for my changes :helpsmilie:. basically I rewrote the terminal output to env.info() It writes the output to the dcs.log file located at: \Users\Your Home Directory\Saved Games\DCS\Logs\dcs.log You can use a simple log viewer like https://www.baremetalsoft.com/baretail/ to inspect the output. Learn more about LuaUnit: https://luaunit.readthedocs.io/en/latest/ https://github.com/bluebird75/luaunit Edited March 2, 2020 by tigair Skynet: an Integrated Air Defence System for DCS. Download here! The best flying school in Switzerland mfgz.ch :music_whistling::music_whistling::pilotfly: Follow my flying adventures on YouTube:)
Recommended Posts