nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Christianson <achristian...@hortonworks.com>
Subject MINIFI-350 minifi-cpp end-to-end integration testing framework
Date Wed, 12 Jul 2017 16:26:45 GMT
Hi All,

I am looking at MINIFI-350 and would like to implement some end-to-end integration tests for
minifi cpp. Essentially, the tests would:


  1.  Stand up a new minifi cpp docker container
  2.  Send test data to HTTP input ports on the container
  3.  Run data through a minifi flow
  4.  Receive output data to a HTTP endpoint
  5.  Verify output data according to some constraints (headers present, hash of the content,
etc.)

Most of this work, such as setting up a docker container and sending data to it, can naturally
be done with shell commands. As such, I’ve taken a look at the bats [1] testing framework,
which seems simple enough and is very expressive.

Any thoughts or suggestions on test frameworks to use are appreciated.

[1]: https://github.com/sstephenson/bats

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message