FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tip4commit/features/developer-opt-in.feature at master · tip4commit/tip4commit · GitHub
tip4commit
tip4commit
Repository navigation
Code
Issues
54
(54)
Pull requests
13
(13)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
tip4commit
/
features
/
developer-opt-in.feature
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (29 loc) · 1.37 KB
Breadcrumbs
tip4commit
/
features
/
developer-opt-in.feature
Copy path
File metadata and controls
33 lines (29 loc) · 1.37 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
Feature
:
Developers may sign-up to receive tip offers
Background
:
Given
a
"github"
project named
"seldon/seldons-project"
exists
And
a developer named
"yugo"
exists with a bitcoin address
And
our fee is
"0"
And
a deposit of
"500"
is made
And
the most recent commit is
"AAA"
And
a new commit
"BBB"
is made with parent
"AAA"
And
a new commit
"CCC"
is made with parent
"BBB"
And
the author of commit
"BBB"
is
"yugo"
And
the author of commit
"CCC"
is
"gaal"
Scenario
:
A commit is merged from an known developer
When
the project syncs with the remote repo
Then
there should be a tip of
"5"
for commit
"BBB"
And
there should be 0 email sent
Scenario
:
A commit is merged from an unknown developer
When
the project syncs with the remote repo
Then
there should be no tip for commit
"CCC"
And
there should be 0 email sent
Scenario
:
A developer signs-up to receive tip offers
When
the project syncs with the remote repo
Then
there should be no tip for commit
"CCC"
And
there should be 0 email sent
When
I sign in as
"gaal"
And
a new commit
"DDD"
is made by a developer named
"gaal"
When
the project syncs with the remote repo
Then
there should be a tip of
"4.95"
for commit
"CCC"
Then
there should be a tip of
"4.9005"
for commit
"DDD"
And
there should be 0 email sent
Back
|
FazBrowse Home
|
New Git URL