UDF handler test

kapacitor
#1

I am experimenting with go UDF handlers. The examples in the documentation work well, but unfortunately don’t come with a test script (for the example handlers that is ;-). I’d like to test my own functions by just running an isolated go test script, using some fixed testdata, preferably independent of any running servers/kapacitor deamons.

If anyone has already written a go test script hat could function as a template to test user defined function handlers, I’d be very happy to receive a copy to extend on. Thanks in advance!