Woo, the simulator has just found its first real error in a plugin:
https://github.com/cuberite/gallery/comm...42a0bfaL94
(A copypasta in Gallery's API function)
More or less yes, right now the simulator just calls the Initialize() function and I'm writing support for fuzzing the command handlers - basically exactly what you said, sending random commands to the registered command handlers just to see how they cope.
The assumption is that later on scenario support will be added - you will be able to define high-level steps that the simulator should simulate (such as "connect player A, connect player B, move A to pos XYZ, execute command C") and at the same time the plugin will react to this.
https://github.com/cuberite/gallery/comm...42a0bfaL94
(A copypasta in Gallery's API function)
More or less yes, right now the simulator just calls the Initialize() function and I'm writing support for fuzzing the command handlers - basically exactly what you said, sending random commands to the registered command handlers just to see how they cope.
The assumption is that later on scenario support will be added - you will be able to define high-level steps that the simulator should simulate (such as "connect player A, connect player B, move A to pos XYZ, execute command C") and at the same time the plugin will react to this.