jimtcl icon indicating copy to clipboard operation
jimtcl copied to clipboard

Add tests for syslog

Open evanhunter opened this issue 9 years ago • 2 comments
trafficstars

More to do, but this is a start....

evanhunter avatar Oct 06 '16 23:10 evanhunter

The problem with adding these tests for syslog is that they spam the system log every time they are run, so their not very system-friendly. And they don't really test that the functionality is correct.

msteveb avatar Oct 08 '16 23:10 msteveb

Sure, but at least they test whether the functions are broken or not....

There's little point having the functions in the system if you don't know whether they work properly.

Perhaps a constraint which is set manually by the user/CI could avoid the spamming? Or perhaps a mocked syslog function?

evanhunter avatar Oct 08 '16 23:10 evanhunter

If someone wants to mock openlog/syslog/closelog and create some updated tests, I'm OK with that. Closing for now.

msteveb avatar May 13 '23 05:05 msteveb