Фреймворк автоматизированных критериев приёмки

  • Published on
    15-Jan-2017

  • View
    209

  • Download
    2

Embed Size (px)

Transcript

CORPORATE SLIDE DECK

www.luxoft.com

Settlement Engine : , -

www.luxoft.com

www.luxoft.com

Unit TestComponent TestSystem TestEnd to End Test

Acceptance testsTechnical testsBusiness FacingTechnology Team Facing

www.luxoft.com

Business Flow Description High Level Solution Design Feature Acceptance Criteria Product BacklogBusiness Case High Level Business Requirements Feature Breakdown E2E Tests Scenarios Definition

Main and Alternate Flows Detailed Solution Requirements Solution Design US Acceptance CriteriaGlobal Integration TestingUser Story DeliveryUser Story RefinementCustomer VerificationFeature ElaborationDiscoverySystem and Components Tests Scenarios DefinitionUnit Tests Scenarios DefinitionAll Level Tests Implementation

www.luxoft.com

, ,

www.luxoft.com

Business Flow Description High Level Solution Design Feature Acceptance Criteria Product BacklogBusiness Case High Level Business Requirements Feature Breakdown E2E Tests Scenarios Definition

Main and Alternate Flows Detailed Solution Requirements Solution Design US Acceptance CriteriaGlobal Integration TestingUser Story DeliveryUser Story RefinementCustomer VerificationFeature ElaborationDiscoverySystem and Components Tests Scenarios DefinitionUnit Tests Scenarios DefinitionAll Level Tests Implementation

www.luxoft.com

Feature Description and Acceptance CriteriaDiscovery

Currency Write Off is generated in FO Order Management System in case of currency rate has been changed during client order execution. It is processed and accounted in Settlement Engine.As a Trade Control AnalystI need Currency Write Off Below Tolerance to be processed and accountedSo that Profit or Loss of changed currency rate is reflected correctly in financial reports

Business BackgroundFlow is a deviation of Agency Flow in case of settlements on the market and with client happen in different currencies and the currency rate changes during client order execution. As a result cash difference appears on the Currency Control Account. It is actually profit or loss for the bank.Feature Acceptance Criteria

www.luxoft.com

Business Flow Description High Level Solution Design Feature Acceptance Criteria Product BacklogBusiness Case High Level Business Requirements Feature Breakdown E2E Tests Scenarios Definition

Main and Alternate Flows Detailed Solution Requirements Solution Design US Acceptance CriteriaGlobal Integration TestingUser Story DeliveryUser Story RefinementCustomer VerificationFeature ElaborationDiscoverySystem and Components Tests Scenarios DefinitionUnit Tests Scenarios DefinitionAll Level Tests Implementation

www.luxoft.com

Feature elaborationFeature Acceptance Scenarios

SCENARIO1. CURRENCY WO BELOW TOLERANCEStep 1. Trade DateWhenMarket TradeClient TradeCurrency ConversionCurrency Write OffAre processedThen Accounting Movements fit specified T charts

Step 2. Settlement DateGiven Trades are processedWhen Trades are settledThen Accounting Movements fit specified T chartsSCENARIO2. CURRENCY WO ABOVE TOLERANCEStep 1. Trade DateWhenMarket TradeClient TradeCurrency ConversionCurrency Write OffAre processedThen Accounting Movements fit specified T charts Currency Write Off is reconciled User is notified about Currency WO

Step 2WO Manual approval

Step 3. Settlement DateGiven Trades are processedWhen Trades are settledThen Accounting Movements fit specified T charts Currency Write Off is reconciled

www.luxoft.com

Feature elaboration

Feature Acceptance Cases

Profit/LossAbove/Below ToleranceSell/Buy Client Order

BacklogUS1. Processing and accounting Currency WO Below Tolerance.US2. Processing and accounting Currency WO Above Tolerance.US3. Currency WO Reconciliation

CaseInputOutputSell/BuyProfit/LossAbove/ Below ToleranceAccounting User NotificationReconciliationCase 1.1SellProfitBelowFit T-chartsNoYesCase 1.2BuyLossBelowFit T-chartsNoYesCase 2.1SellLossAboveFit T-chartsYesYesCase 2.2BuyProfitAboveFit T-chartsYesYes

End to End testScenario 1. Case 1.1

www.luxoft.com

Business Flow Description High Level Solution Design Feature Acceptance Criteria Product BacklogBusiness Case High Level Business Requirements Feature Breakdown E2E Tests Scenarios Definition

Main and Alternate Flows Detailed Solution Requirements Solution Design US Acceptance CriteriaGlobal Integration TestingUser Story DeliveryUser Story RefinementCustomer VerificationFeature ElaborationDiscoverySystem and Components Tests Scenarios DefinitionUnit Tests Scenarios DefinitionAll Level Tests Implementation

www.luxoft.com

User Story DescriptionUser Story Refinement

As a Trade Control AnalystI need Currency Write Off Below Tolerance to be processed and accountedSo that Profit or Loss of changed currency rate is reflected correctly in financial reportsCaseInputOutputSell/ BuyProfit/ LossAbove/ Below Tol.Trade Date WO AmountValue DateAccount CcyAmount1SellProfitBelow02.11.2015USD 2902.11.2015Currency Control ABCUSD-29.0002.11.2015PnL 123USD29.002BuyLossAbove03.11.2015GBP -117.8103.11.2015Currency Control ABCGBP117.8103.11.2015PnL 123GBP-117.81..

User Story Acceptance CriteriaVanilla ScenarioWhen Currency WO with is processedThen Accounting Movements as are generated

Negative ScenarioGiven Currency WO with is processedWhen it is cancelledThen Reversed Accounting Movements are generated

www.luxoft.com

Test PlanUser Story Refinement

Tech. ChangesUnit TestsComponent TestsSystem TestsE2EAC1Vanilla Scena-rioCh 1. Message Processing FIXML Allocation Report Parser Junit Test should be extended with Currency WO scenario to prove new tag is accepted and new values are recognizedAgency Flow Concordion Testshould be extended with Currency Write Off Below Tolerance ScenarioCh 2. Transaction CreationAccounts derivation Jbehave Test should be extended with Currency WO scenario to prove new accounts are set upTransaction Creation Jbehave Test should be extended with Currency WO scenario to validate transaction type and accounts of created transactionCh 3. Accounting Message CreationAccounting Message Creation Jbehave Test should be extended with Currency WO scenario to validate message typeCh 4. Accounting Movements CreationAccounting Movements Creation Test should be extended with Currency WO scenario to validate accounting movements created based on Accounting MessageAC2 Nega-tive Scena-rioCh 2. Transaction Creation Transaction Creation Jbehave Test should be extended with Currency WO scenario to validate transaction type and accounts of created transactionCh 4. Accounting Movements Creation (Accounting Module)Reverse Accounting Movements Creation Test should be extended with Currency WO scenario to validate accounting movements created based on Accounting Message

www.luxoft.com

Business Flow Description High Level Solution Design Feature Acceptance Criteria Product BacklogBusiness Case High Level Business Requirements Feature Breakdown E2E Tests Scenarios Definition

Main and Alternate Flows Detailed Solution Requirements Solution Design US Acceptance CriteriaGlobal Integration TestingUser Story DeliveryUser Story RefinementCustomer VerificationFeature ElaborationDiscoverySystem and Components Tests Scenarios DefinitionUnit Tests Scenarios DefinitionAll Level Tests Implementation

www.luxoft.com

Test Tools

Given WordPress application is uninstalledWhen I install WordPress applicationAnd install Membership Login plugin and activateThen no errors appearedFeature: Installation Scenario: Basic installation

www.luxoft.com

ChangeUnit TestsComponent TestsSystem TestsVanilla Scena-rioCh 1. Message ProcessingFIXML Allocation Report Parser Junit TestWhen FIXML Message in tag 555 is received Then Message with value CURRENCY_WO of Message Type is put in Messages queueCh 2. Transaction CreationAccounts derivation Jbehave Test When Transaction Type is Then is used as PNL accountTransaction Creation Jbehave Test When Currency Write Off Message is received Then Transaction is createdAnd Transaction Type is CURRENCY_WOAnd 123 is used as PNL accountCh 3. Accounting Message CreationAccounting Message Creation Jbehave Test When CURRENCY_WO Transaction is committed Then AccountingMessage is createdAnd Message Type is CURRENCY_WOCh 4. Accounting Movements CreationAccounting Movements Creation Test. In-house ToolWhen CURRENCY_WO Account Message is received Then Accounting Movements fit NEW CURRENCY_WO T-charts

Test ExamplesDelivery

FIXML Allocation Report Parser Junit TestWhen FIXML Message in tag 555 is received Then Message with value CURRENCY_WO of Message Type is put in Messages queueTransaction Creation Jbehave Test When Currency Write Off Message is received Then Transaction is createdAnd Transaction Type is CURRENCY_WOAnd 123 is used as PNL account

Accounts derivation Jbehave Test When Transaction Type is Then is used as PNL account

Accounting Movements Creation Test. In-house ToolWhen CURRENCY_WO Account Message is received Then Accounting Movements fit

www.luxoft.com

Test ExamplesCaseInputOutputSell/BuyProfit/ LossAbove/ Below Tol.Trade Date Settlement Date.WO AmountValue DateAccount CcyAmount1SellProfitBelow02.11.201504.11.2015USD 2902.11.2015Currency Control ABCUSD-29.0002.11.2015PnL 123USD29.002BuyLossAbove03.11.201505.11.2015GBP -117.8103.11.2015Currency Control ABCGBP117.8103.11.2015PnL 123GBP-117.81..

Delivery

CURRENCY WRITE OFFNarrativeFlow is a deviation of Agency Flow in case of settlements on the market and with client happen in different currencies and the currency rate changes during client order execution. As a result cash difference appears on the Currency Control Account . It is actually profit or loss for the bank.Currency Write Off is generated in FO Order Management System in such case. It is processed and accounted in Settlement Engine.In case Write Off amount is over Tolerance additional manual approval is required.

Currency Write Off below Tolerance ScenarioClient buys 100 ABC shares.On the trade date order is executed on the market for 9999.99 PNLAs Client wants to pay in USD his payment forms 2702,70 USD according to the rate 3,7 PNL/USD.Currency is exchanged with the rate 3,73 which forms profit of 21,74 reflected as Currency Write Off.On the settlement date Market trade and Client trade are settled.

As the result of operation1. Cash movements in both currencies affect Nostro on settlement date.2. Currency exchange profit is accrued on PnL account.3. Currency Control Account is flat.

Value DateAccount CyAmountCommentSettlement DateNostroUSD2702,7Debit1Settlement DateNostroPNL9999,99Credit1Settlement DatePnLUSD21,74Credit2

www.luxoft.com

C, -

TO IMPROVE

TO DO

www.luxoft.com

sign off As Is What If ,

GOOD

BENEFITS

www.luxoft.com

THANK YOU!

www.luxoft.com

?

www.luxoft.com

Recommended

View more >