How to get --tests command params in plugin?

See also, this conversation.