DFE / MONK

MONK is an automated integration and system test framework primarily designed for DFE's HydraIP devices.
dfe.github.io/MONK
GNU General Public License v3.0
1 stars 9 forks source link

Fixture should have a `cmd()` #93

Closed erikbgithub closed 10 years ago

erikbgithub commented 10 years ago

Situation

Currently cmds can be sent like this:

fixt.devs[0].cmd("echo \"hello\"")

That is probably not too exciting for new users.

Task

Under the assumption that in most test cases there is only one device and especially beginners will only use one device, fixture could get a cmd() method that automatically delegates the cmd() to its first device.

Then the same code example would look like this:

fixt.cmd("echo \"hello\"")

Notes

.