integration testing with docker

@IGNORED TESTS



  • lack of automated integration testing
  • different DBs, Queues etc
  • different versions of them
  • time-consuming environment setup
  • conflicting fixtures



                   (╯°□°)╯︵ ┻━┻

it would be nice to have



  •  one-click environment setup and tests
  • isolated software of different versions
  • clean machine before and after tests
  • Jenkins integration
  • small footprint (no VM overhead)
  • ability to tweak the environment easily


                           ┬─┬ノ( º _ ºノ)
1

docker ftw


  • maven failsafe plugin for lifecycle control
  • docker-compose for orchestrating containers
  • maven exec plugin for starting/stopping ensemble

demo



Integration testing made easy with Docker

By Anton Kirillov

Integration testing made easy with Docker

  • 1,473