From a1f39de37f16142f3e24c7f052aa34df2d78880a Mon Sep 17 00:00:00 2001 From: Daniel Alves + Diego Araújo Date: Tue, 19 Feb 2013 17:39:26 -0300 Subject: [PATCH] [Mezuro] Started the Repository feature. --- plugins/mezuro/features/project.feature | 2 +- plugins/mezuro/features/repository.feature | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 plugins/mezuro/features/repository.feature diff --git a/plugins/mezuro/features/project.feature b/plugins/mezuro/features/project.feature index 642f12a..bdf220b 100644 --- a/plugins/mezuro/features/project.feature +++ b/plugins/mezuro/features/project.feature @@ -13,7 +13,7 @@ Feature: Project | mycommunity | My Community | And "Joao Silva" is admin of "My Community" - Scenario: I see Mezuro project's input form + Scenario: I see the Mezuro project input form Given I am on mycommunity's control panel When I follow "Mezuro project" Then I should see "Title" diff --git a/plugins/mezuro/features/repository.feature b/plugins/mezuro/features/repository.feature new file mode 100644 index 0000000..7be7b1e --- /dev/null +++ b/plugins/mezuro/features/repository.feature @@ -0,0 +1,46 @@ +Feature: Repository + As a Mezuro user + I want to create, edit, remove and process a repository + + Background: + Given the following users + | login | name | + | joaosilva | Joao Silva | + And I am logged in as "joaosilva" + And "Mezuro" plugin is enabled + And the following community + | identifier | name | + | mycommunity | My Community | + And "Joao Silva" is admin of "My Community" + And I have a Mezuro project with the following data + | name | Sample Project | + | description | Sample Description | + | community | mycommunity | + And I am on article "Sample Project" + And I should be on /mycommunity/sample-project + + Scenario: I want to see the Mezuro repository input form + When I follow "Add Repository" + Then I should see "Name" + And I should see "Description" + And I should see "License" + And I should see "Process Period" + And I should see "Type" + And I should see "Address" + And I should see "Configuration" + And I should see "Add" button + + Scenario: I want to add a repository with no name + Given I follow "Add Repository" + When I fill in the following + | Name | | + | Description | My Description | + | License | ISC License (ISC) | + | Process Period | Not Periodically | + | Type | SUBVERSION | + | Address | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator | + | Configuration | Kalibro for Java | + And I press "Add" + + Scenario: I want to add a repository with valid attributes + -- libgit2 0.21.2