I have created a new parser and would like to run unit test just to make sure that everything works before submitting the pull request.
Could someone suggest here, how can i run unit test.
Thanks in advance.
Br, Aqs.
I have created a new parser and would like to run unit test just to make sure that everything works before submitting the pull request.
Could someone suggest here, how can i run unit test.
Thanks in advance.
Br, Aqs.
Hello @Aqs_Younas,
Thank you for your question. First, I suggest looking at other parser test examples and model your test after one of them.
Next, after you’ve compiled with make telegraf
, you can just run make test
to run your test.
I hope this helps and thanks for contributing!