Created
January 26, 2014 21:29
Revisions
-
maksar created this gist
Jan 26, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ Feature: Identification process Background: Given following EGRUL source configuration | step | suspicious_threshold | identification_threshold | | 1 | 0 | 90 | | 2 | 65 | 90 | And following attributes weights | inn | kpp | ogrn | okpo | short_name | full_name | | 90 | 10 | 90 | 85 | 5 | 5 | And following priorities | inn | kpp | ogrn | okpo | short_name | full_name | | 1 | 1 | 1 | 1 | 2 | 2 | Scenario: Identification of newly imported company Given such records in Payindex database | id | inn | kpp | okpo | ogrn | short_name | full_name | | 1 | 123 | | abc | | xyz | | | 2 | 123 | | ___ | | xyz | | | 3 | ___ | | abc | | __ | | | 4 | ___ | | ___ | | xyz | | When system tries to identify a company from "EGRUL" with following attributes | inn | kpp | okpo | ogrn | short_name | full_name | | 123 | | abc | | xyz | | Then company with id "1" should be matched And "3" should be reported as suspicious And "4" should be reported as suspicious