Commit 20ffe1a2ac994ca6a9ac07a3fdade125df80f31e

Authored by João M. M. da Silva + Alessandro Palmeira
Committed by Paulo Meireles
1 parent 9e037517

[Mezuro] Configured cucumber to run hooks only on mezuro features and

updated them.
features/support/hooks.rb
1   -Before do |scenario|
  1 +Before('@mezuro') do |scenario|
2 2 command = "#{RAILS_ROOT}/plugins/mezuro/features/initialize_monkey_server.sh \"#{scenario.name}\""
3 3 system command
4 4 end
... ...
plugins/mezuro/features/adding_metric_configuration.feature
  1 +@mezuro
1 2 Feature: Add metric configuration to a configuration
2 3 As a mezuro user
3 4 I want to add metric configurations to a Kalibro configuration
... ...
plugins/mezuro/features/adding_ranges.feature
  1 +@mezuro
1 2 Feature: Add range to a metric configuration
2 3 As a mezuro user
3 4 I want to add ranges to a Kalibro metric configuration
... ...
plugins/mezuro/features/creating_configuration.feature
  1 +@mezuro
1 2 Feature: Create configuration
2 3 As a mezuro user
3 4 I want to create a Mezuro configuration
... ...
plugins/mezuro/features/creating_project.feature
  1 +@mezuro
1 2 Feature: Create project
2 3 As a mezuro user
3 4 I want to create a Mezuro project
... ...
plugins/mezuro/features/editing_configuration.feature
  1 +@mezuro
1 2 Feature: editing a configuration
2 3 As a mezuro user
3 4 I want to edit a Mezuro configuration
... ...
plugins/mezuro/features/initialize_monkey_server.sh 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +#!/bin/bash
  2 +
  3 +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  4 +MEZURO_HOME="$DIR/.."
  5 +
  6 +# Ignore errors from all commands
  7 +trap "" ERR
  8 +
  9 +
... ...
plugins/mezuro/features/removing_metric_configuration.feature
  1 +@mezuro
1 2 Feature: Remove a metric configuration from a configuration
2 3 As a mezuro user
3 4 I want to remove metric configurations from a configuration
... ...