Search code examples
linuxtestingfunctional-testingstress-testing

Writing feature tests for a big network software


I'm working on feature tests for a big network software. Is there any framework for such tests (Linux platform)?

Basically the tests would have the following structure:

  1. prepare the system
  2. try to do something
  3. wait x seconds for results
  4. if timeout: cleanup and report error
  5. try to do something as user X
  6. ...

I was thinking of implementing this directly in Perl, but if there is already some support framework, then it would be much better.


Solution

  • My experience is that every system is different or they look the same from a top-level view, but looking deeper into system you will find blocking issues, i.e. "the devil lies in the details". For this reason we have always implemented our own test-frameworks in order to have full control over the system.

    Another point I would like to make is that the code will be read by developers/maintainers many times. Although perl is a great language, it is not intended to be read or easily understood. The guy who wrote it may quit and someone else needs to make adjustments; therefor I would recommend you to use python instead for ease of maintainability.

    just my 10c...