No activity today, make something!
os-scratch GabbiForNova

20160310191122 cdent  

Notes on how to get gabbi tests used by nova.

Nova has a framework for functional tests that orchestrates a suite of fake and real services such that things like API requests can be modelled end to end. Or at least I believe that's supposed to be the case.

If that's true, then a ConfigFixture for gabbi which sets up that same suite ought to be sufficient for driving a set of gabbits which exercise the API.

Steps:

  • Find that framework
  • Make a rudimentary ConfigFixture
  • Find the entry point to the nova-api wsgi app
  • Make a load_tests
  • Write a very basic query against /
  • See what happens
  • Iterate

There's a start on a gabbi-for-nova branch

This regression test does a good job of setting up a full nova functional environment.