• Unit Testing & Code Coverage
    2 replies, posted
Are there any automated testing libraries for GMod? I've been using GUnit to do some basic testing within GMod. However what I would preferably would like to do is unit test without having to launch the full GMod server first (if at all possible). What are your thoughts on automated testing for GMod add-ons?
Well...The only way to test if your stuff works and how does it...It's doing it in gmod, you can do all the math you want and function you want to use in pure lua...But doing it in gmod is not always the same, you don't exactly know the behaviour in pure text, you can guess everything, like this net message will arrive, then call this, but you won't find a better unit testing than an auto refreshable system with visual capabilities like gmod So no, there's no a way to test your addons without running those in gmod
Not that i'm aware of, but i have no idea why you would want to go to all that extra work anyway.
Sorry, you need to Log In to post a reply to this thread.