-
Notifications
You must be signed in to change notification settings - Fork 42
/
gremlin_db_content.feature
160 lines (151 loc) · 5.24 KB
/
gremlin_db_content.feature
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
Feature: Check the content written into the graph database
@requires_access_to_graph_db @detailed_tests
Scenario Outline: Check that all frequently used packages for the npm ecosystem are stored in the graph DB
Given System is running
When I ask Gremlin to find the package <package> in the ecosystem npm
Then I should get 200 status code
And I should get valid Gremlin response
And I should find the ecosystem npm name in the Gremlin response
And I should find the package <package> name in the Gremlin response
And I should find that all information about package have correct structure
Examples: packages
|package|
|sequence |
|array-differ |
|array-flatten |
|array-map |
|array-parallel |
|array-reduce |
|array-slice |
|array-union |
|array-uniq |
|array-unique |
|lodash |
|lodash.assign |
|lodash.assignin |
|lodash._baseuniq |
|lodash.bind |
|lodash.camelcase |
|lodash.clonedeep |
|lodash.create |
|lodash._createset |
|lodash.debounce |
|lodash.defaults |
|lodash.filter |
|lodash.findindex |
|lodash.flatten |
|lodash.foreach |
|lodash.isplainobject |
|lodash.mapvalues |
|lodash.memoize |
|lodash.mergewith |
|lodash.once |
|lodash.pick |
|lodash._reescape |
|lodash._reevaluate |
|lodash._reinterpolate |
|lodash.reject |
|lodash._root |
|lodash.some |
|lodash.tail |
|lodash.template |
|lodash.union |
|lodash.without |
|npm |
|underscore |
@requires_access_to_graph_db @detailed_tests
Scenario Outline: Check that all frequently used packages for the pypi ecosystem are stored in the graph DB
Given System is running
When I ask Gremlin to find the package <package> in the ecosystem pypi
Then I should get 200 status code
And I should get valid Gremlin response
And I should find the ecosystem pypi name in the Gremlin response
And I should find the package <package> name in the Gremlin response
And I should find that all information about package have correct structure
Examples: packages
|package|
|requests|
|scrapy|
|Pillow|
|SQLAlchemy|
|Twisted|
|matplotlib|
|nltk|
|nose|
|numpy|
|mechanize|
|pywinauto|
@requires_access_to_graph_db @detailed_tests
Scenario Outline: Check that all frequently used packages for the npm ecosystem are stored in the graph DB
Given System is running
When I ask Gremlin to find all versions of the package <package> in the ecosystem npm
Then I should get 200 status code
And I should get valid Gremlin response
And I should find at least <number> packages in the Gremlin response
And I should find that all information about package versions have correct structure
Examples: packages
|package | number |
|sequence | 2 |
|array-differ | 2 |
|array-flatten | 2 |
|array-map | 2 |
|array-parallel | 2 |
|array-reduce | 2 |
|array-slice | 2 |
|array-union | 2 |
|array-uniq | 2 |
|array-unique | 2 |
|lodash | 2 |
|lodash.assign | 2 |
|lodash.assignin | 2 |
|lodash._baseuniq | 2 |
|lodash.bind | 2 |
|lodash.camelcase | 1 |
|lodash.clonedeep | 2 |
|lodash.create | 2 |
|lodash._createset | 2 |
|lodash.debounce | 2 |
|lodash.defaults | 2 |
|lodash.filter | 2 |
|lodash.findindex | 2 |
|lodash.flatten | 2 |
|lodash.foreach | 2 |
|lodash.isplainobject | 2 |
|lodash.mapvalues | 2 |
|lodash.memoize | 1 |
|lodash.mergewith | 2 |
|lodash.once | 2 |
|lodash.pick | 2 |
|lodash._reescape | 2 |
|lodash._reevaluate | 2 |
|lodash._reinterpolate | 2 |
|lodash.reject | 2 |
|lodash._root | 2 |
|lodash.some | 2 |
|lodash.tail | 1 |
|lodash.template | 2 |
|lodash.union | 2 |
|lodash.without | 2 |
|npm | 2 |
|underscore | 2 |
@requires_access_to_graph_db @detailed_tests
Scenario Outline: Check that all frequently used packages for the pypi ecosystem are stored in the graph DB
Given System is running
When I ask Gremlin to find all versions of the package <package> in the ecosystem pypi
Then I should get 200 status code
And I should get valid Gremlin response
And I should find at least <number> packages in the Gremlin response
And I should find that all information about package versions have correct structure
Examples: packages
|package | number |
|requests | 16 |
|scrapy | 2 |
|Pillow | 6|
|SQLAlchemy | 7|
|Twisted | 4|
|matplotlib | 3|
|nltk | 1|
|nose | 3|
|numpy | 7|
|mechanize | 3|
|pywinauto | 1|