Commit ab1b733de452f9661b0d4c59f97225f53117f640

Authored by Paulo Meireles
1 parent e911a738

[Mezuro] dratf about how we can run accetance test using kalibro test mode

Showing 1 changed file with 27 additions and 0 deletions   Show diff stats
plugins/mezuro/test/run_acceptance_tests.sh 0 → 100644
... ... @@ -0,0 +1,27 @@
  1 +#!/bin/bash
  2 +
  3 +COMMAND_TEST = $1
  4 +
  5 +# where are your .kalibro dir?
  6 +KALIBRO_HOME= ~/.kalibro
  7 +
  8 +# create a kalibro test dir
  9 +mkdir $KALIBRO_HOME/tests
  10 +cp $KALIBRO_HOME/kalibro_tests.settings $KALIBRO_HOME/tests/kalibro.settings
  11 +
  12 +# you must restart tomcat6
  13 +#if you are using a tomcat installed from apt-get, for example:
  14 +#sudo service tomcat6 restart
  15 +
  16 +#if you are using a tomcat installed a specific dir, form exemplo:
  17 +#~/tomcat6/bin/shoutdown.sh
  18 +#~/tomcat6/bin/startup.sh
  19 +
  20 +# run test
  21 +COMMAND_TEST
  22 +
  23 +#back to normal mode
  24 +rm -rf $KALIBRO_HOME/tests
  25 +
  26 +# you must restart tomcat6 again
  27 +#sudo service tomcat6 restart
... ...