Back to All

How to make unit testing for big plugins

I'm working on refactoring some big plugins and as it's obvious I want to do unit testing to make sure I do not break anything, the thing is that several functions take data from the game itself, and I do not know how to simulate them by creating my own variables, besides I have not got documentation about absolutely nothing (classes, methods, protocols etc ...)