mezuro.feature
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Feature: mezuro content
As a noosfero user
I want to create a Kalibro project
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"
Scenario: I see Kalibro project as an option to new content
Given I am on My Community's cms
When I follow "New content"
Then I should see "Kalibro project"
Scenario: I see Kalibro project's input form
Given I am on My Community's cms
When I follow "New content"
And I follow "Kalibro project"
Then I should see "Title"
And I should see "License"
And I should see "Repository type"
And I should see "GIT"
And I should see "REMOTE_ZIP"
And I should see "REMOTE_TARBALL"
And I should see "SUBVERSION"
And I should see "Repository url"
And I should see "Configuration"
And I should see "Kalibro for Java"
Scenario: I create a sample mezuro content
Given I am on My Community's cms
When I create a content of type "Kalibro project" with the following data
| Title | Sample project |
| License | BSD |
| Repository type | GIT |
| Repository url | git://example |
Then I should see "Sample project"
And I should see "Viewed one time"
And I should see "BSD"
Scenario: I create a real mezuro content
Given I am on My Community's cms
When I create a content of type "Kalibro project" with the following data
| Title | Qt-Calculator |
| License | GPL 2.0 |
| Repository type | SUBVERSION |
| Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator |
Then I should see "Qt-Calculator"
Scenario: I see results from a real Kalibro project
Given I am on My Community's cms
When I create a content of type "Kalibro project" with the following data
| Title | Qt-Calculator |
| License | GPL |
| Repository type | SUBVERSION |
| Repository url | https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator |
| Configuration | Kalibro for Java |
Then I should see "Qt-Calculator"
And I should see "GPL"
And I should see "SUBVERSION"
And I should see "https://qt-calculator.svn.sourceforge.net/svnroot/qt-calculator"
And I should see "Kalibro for Java"
And I should see "Kalibro Service is loading the source code"