[riot-notifications] [RIOT-OS/RIOT] dist/pythonlibs: provide unittest TestCase wrapper for testrunner (#10431)
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`.
> > 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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications