This repository has been archived by the owner on Mar 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_feature means have not re-written it, new steps in step_definitions
- Loading branch information
Marcus Tewskbury
authored and
Marcus Tewskbury
committed
Aug 12, 2017
1 parent
f884e7e
commit 0a68e31
Showing
18 changed files
with
65 additions
and
44 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
this.Given(/^no records exist that match the new identity:$/, function (table, callback) { | ||
this.connect(callback); | ||
//1. create a random new Tin record | ||
//https://app.swaggerhub.com/apis/uTu.ai/identity-public/1.0.0 | ||
}); | ||
|
||
this.Given(/^a number of related, but unmatched identity records exist:$/, function (table, callback) { | ||
this.connect(callback); | ||
//1. create 3x new tin records. Do not provide any matching criteria between them | ||
// but know, they are for the same person ultimately. | ||
// can this be fed from the data sets? the nuance of the data combinations is | ||
// in the medaling spreadsheet. | ||
}); | ||
|
||
this.Given(/^existing identity records have associated events:$/, function (table, callback) { | ||
this.connect(callback); | ||
//1. for any identity records just created, go ahead and create some bogus events for them. | ||
}); | ||
|
||
this.When(/^an unmatchable update is received for that identity:$/, function (table, callback) { | ||
this.connect(callback); | ||
//1. try updating any identity {custom} field | ||
}); | ||
|
||
this.When(/^a matchable update is received for that identity:$/, function (table, callback) { | ||
this.connect(callback); | ||
// create an identity update that includes email | ||
// create an identity update that includes browserId | ||
// etc. | ||
// same point as the given really. There are MANY combinations that could be tested here | ||
// where and how do these combinations get inputted? | ||
|
||
this.Then(/^upsert identity:$/, function (table, callback) { | ||
this.connect(callback); | ||
// there should exist a singular tin record that reflects recent update | ||
// there should exist a singular bronze record that reflects recent update | ||
// there should exist a singular gold record that reflects recent update | ||
// if a new match was made across existing identity records, the combination | ||
// of data - the merge - should be reflected in the bronze and gold records | ||
// this final identity view should be denorm'd to related events | ||
|
||
}); |