Automated testing discussion

Testing (the programmatic kind) is something that could potentially very much improve the quality of released scripts, help debug compatibility between them, and catch any unfortunate regressions. I was just wondering if anyone had any suggestions or ideas for testing strategies that could be employed for RMMV?

For those with some JavaScript testing experience: what test framework would you use (if any)? Obviously specific-function unit testing can be done pretty easily, but how would you set up an in-game testing environment for higher-level behavior testing? Do you think it would be beneficial to create some sort of community "testing plugin" for scripters that handles these things or at least makes them easier?

How about providing a "default test suite" for the base engine, so scripters can get some indication right away of what in-game behaviors their plugin might be changing/breaking as they develop? As long as it was made easy enough to run, even for people with no testing experience, it could prevent a LOT of bugs and edge cases happening in the first place.

Anyway, just thought I'd throw this out there, any thoughts welcome.

If you don't see the benefit in automated testing and prefer testing and debugging everything by hand, that's fine, but try and give some insight about why that's the case.

Original thread: https://forums.rpgmakerweb.com/threads/automated-testing-discussion.50846/