Unit testing
Posted: Sun Jan 07, 2018 6:45 pm
Hi Guys,
is there any way to unit test my classes written in c++ for ESP8266 Arduino platform? I really cannot find anything related material on the internet. I thought a widely used c++ unit testing library will work, but arduino is different as it has no try-catch blocks (thus exceptions) and other disadvantages compared to standard c++ etc etc.
What i need is simple: some assertion library, structuring capabilities (suites,test cases,...) and some kind of mocking and checking whether a method was called or not.
Can anybody help?
is there any way to unit test my classes written in c++ for ESP8266 Arduino platform? I really cannot find anything related material on the internet. I thought a widely used c++ unit testing library will work, but arduino is different as it has no try-catch blocks (thus exceptions) and other disadvantages compared to standard c++ etc etc.
What i need is simple: some assertion library, structuring capabilities (suites,test cases,...) and some kind of mocking and checking whether a method was called or not.
Can anybody help?