[nanomsg] Re: Interception hooks for testing.

  • From: Paul Colomiets <paul@xxxxxxxxxxxxxx>
  • To: "nanomsg@xxxxxxxxxxxxx" <nanomsg@xxxxxxxxxxxxx>
  • Date: Fri, 4 Oct 2013 18:34:16 +0300

Hi Martin,

On Fri, Oct 4, 2013 at 6:08 PM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
> What is really being discussed here IMO is integration testing (as opposed
> to the unit tests we have in the project now). The problem with integration
> testing is that it cannot be made fully automatic ("make integration-tests"
> or similar). It requires knowledge of the test environment network,
> deploying individual components, tuning the network (e.g. via ip tables)
> etc.
>
> What we can do is run integration tests on regular basis in our test
> environment. However, it's not a trivial amount of work, so help would be
> needed. The first step would be to create a separate "nanomsg-integration"
> project, populate it with integration tests, write down the procedures for
> testing (so that anyone can reproduce it). Once done, the second step would
> be to actually set it up in our test env.
>

It's nice idea. I think we can also do some automated testing. E.g.
spawn few virtual machines, kill some of them, check that everything
works. I definitely want this kind of tests for nanoconfig and
friends.


-- 
Paul

Other related posts: