[ell-i-developers] Re: Robot Framework Testing: Test Cases Design, Scripting and other Issues

  • From: Teemu Hakala <temmi@xxxxxx>
  • To: "ell-i-developers@xxxxxxxxxxxxx" <ell-i-developers@xxxxxxxxxxxxx>
  • Date: Mon, 14 Apr 2014 16:48:27 +0300

On 14.4.2014, at 16:06, Pekka Nikander <pekka.nikander@xxxxxx> wrote:
> Great!  Now, how about writing a separate wiki page that contains the 
> instructions how to clone the repos locally and how to run the test cases?  
> SO that e.g. Teemu and I can easily repeat the tests.  Of course, the longer 
> term goal is that all developers could run the test cases locally each and 
> every time before pushing something to the Runtime git repo.

Instructions for the rest of us sounds like a very good idea. I’m very 
interested in joining forces at creating the tests and making our test coverage 
larger. I know pretty much nothing about Robot Framework, so instructions 
relevant to how ELL-i uses it is very relevant.

I made some issues in the [ELL-i-PyBot-Tests issue tracker][1] for some basic 
tests to be made. Some of these are already on the way and may be ready. The 
idea being that as not all of the [Arduino language reference][2] needs be 
tested at first, we can keep track of what we think be relevant at which stage 
and who is already working on what, to avoid duplicate effort.

Related to priorities of testing, I think that as the test suite starts to be 
usable and familiar, we should pretty soon generate tests for some [Arduino 
examples][3], most notably Blink and the like.

Testing against real hardware is naturally very interesting. We might want to 
take a look on [Sigrok][4] as a test automation hardware framework as it 
supports our measurement hardwares of choice. I think that a good intermediate 
solution is to define a set of tests that need human interaction to run and 
gather the results, as not everyone will have their [Rigols][5] and [Salaes][6].

  [1]: https://github.com/Ell-i/ELL-i-PyBot-Tests/issues
  [2]: http://arduino.cc/en/Reference/HomePage
  [3]: http://arduino.cc/en/Tutorial/HomePage
  [4]: http://www.sigrok.org/wiki/Supported_hardware
  [5]: http://www.rigolna.com/products/digital-oscilloscopes/
  [6]: https://www.saleae.com/logic16/

 - t

Other related posts: