Closed erikbgithub closed 10 years ago
Currently cmds can be sent like this:
fixt.devs[0].cmd("echo \"hello\"")
That is probably not too exciting for new users.
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.
cmd()
Then the same code example would look like this:
fixt.cmd("echo \"hello\"")
.
Situation
Currently cmds can be sent like this:
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:
Notes
.