jeudi 26 mars 2015

Testing Lua scripts outside the game client

I'm looking for some input or advice on the following problem:


I'm developing, or rather maintaining several Addons for the game called WildStar. They're all written in Lua, and while I can write the code and test this constantly in the game, I was wondering if there is a possibility to test Addons outside of the game client?


I'm not looking for ways to test UI elements, but for example I have written a small library that comes with my Addon, which wraps parts or the API of the game in my own code.


example source: http://ift.tt/1IxI7gY


In this example, I wrap the AbilityBook table, which is provided by the game's Lua environment. Is there a way I can write Unit Tests for this and have them run from my dev environment? I'm thinking in the way of loading a DLL or something similar where all this is defined from the game.


Hope the question makes somehow sense....


Aucun commentaire:

Enregistrer un commentaire