[riot-notifications] [RIOT-OS/RIOT] dist/pythonlibs: provide unittest TestCase wrapper for testrunner (#10431)

Martine Lenders notifications at github.com
Tue Jan 22 10:09:52 CET 2019


> And as `testrunner` was changed to a package, `PexpectTestCase` could be put in its own module `testrunner/unittest.py`.

Will do.



> > e.g. this whole section in #10392 could be methods of a PexpectTestCase class that also contains all the interaction stuff (like pktbuf_empty(), add_neighbor(), del_neighbor(), etc.) with the node as methods:
> 
> In the long term, I am in favor or providing these methods in a non test class, so in your case would result in a testcase method `self.spawn.add_neighbor(neigh)` or `self.node.add_neighbor` it not called `spawn` but starting to go in this direction in parallel is still a good thing in my opinion.

Yes, maybe having some shell interaction class in-between would be a good idea!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10431#issuecomment-456323898
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190122/a1629b69/attachment.html>


More information about the notifications mailing list