cloudbytestorage / touchstone

Testing for Infrastructure w.r.t Storage
Apache License 2.0
2 stars 0 forks source link

TOUCHSTONE

Need for a Test Automation

What kind of Test Automation should we implement ?

We shall start with unit tests

Let me quote an email from OpenStack forums:

" If a method is conceivably testable with unit tests (without over relying on mock), that is preferable. Failing that, functional tests are the way to go. The general idea is to test bottom up:

  • Lots of unit tests,
  • fewer functional tests,
  • fewer API/integration/fullstack tests,

It is difficult to test the agent with unit tests effectively, which is why I encourage developers to test via functional, mock-less tests. "

This is another quote from James Strachan's Weblog - Friday Aug 29, 2003

" I'm finding that most time spent in a TDD style development model is

  • coding the unit tests.

There's typically lots of unit test code for little application code. Also there does seem to be some baggage when writing unit tests in java. This seems a great opportunity for using a concise & powerful dynamically typed language. "

For a moment, lets think about the issues implementing unit tests:

Below items poses very generic queries on other forms of testing

Solutions to mitigate issues that we talked about:

What other innovations matter w.r.t automation ?

Related Links