Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)
-
Upload
omegapoint-academy -
Category
Presentations & Public Speaking
-
view
190 -
download
2
Transcript of Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)
![Page 1: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/1.jpg)
1 + 1 = 1Test + Development = The Omegapoint Way
Bobby Sanghera & Daniel DeogunTwitter: @DanielDeogun
LinkedIn: linkedin.com/in/bobbysinghsanghera
![Page 2: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/2.jpg)
About Us…
Daniel Deogun Bobby Sanghera
Omegapoint Stockholm - Gothenburg - Malmoe - Umea - New York
![Page 3: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/3.jpg)
Equity Fund Account Case
• A bank offers its customers the service of investing in stock through equity accounts
• Each account may target specific types of stock, e.g. only fair trade companies in Africa
• An account may only include stock satisfying the account limitations
• A customer may have multiple accounts
• Each account may have different risks
• Assignment: Write an application service allowing customers to trade stocks
[1] http://upload.wikimedia.org/wikipedia/commons/4/4c/Emblem-money.pngBy Spider death (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons
[1]
![Page 4: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/4.jpg)
Equity Fund Account Case
• Test data • Account 1 may only include stock A, B, C, D, E • Account 2 may only include stock D, F, G • Account 3 may only include stock A, C, D, E
[1] http://upload.wikimedia.org/wikipedia/commons/4/4c/Emblem-money.pngBy Spider death (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons
[1]
![Page 5: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/5.jpg)
Build Pipeline
Compile Unit tests Component tests
Manual System
testsCompile Unit tests Component
tests
Manual System
tests
Build Failed!
![Page 6: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/6.jpg)
Test Interpretation
• Pre-condition Select customer X with equity account 1 & 3 Select account 3
• Testcase Step 1: Select stock A Step 2: Choose TRADE 50% Step 3: Confirm
• Expected Result 50% of the value of stock A in account 3 is traded Account 1 is untouched.
![Page 7: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/7.jpg)
Developer Interpretation
• Accounts Each account is a portfolio of risk Each stock should be distributed among the accounts according to the risk chosen by the customer
• Assumptions Customer X has 100 stock of type A 30% of stock A is placed in account 1 70% of stock A is placed in account 3
• Test Execute Trade 50% of stock A => 50 stock A should be traded Expected Result 30% of stock A resides in account 1 => 15 stock A Expected Result 70% of stock A resides in account 3 => 35 stock A
![Page 8: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/8.jpg)
Analysis
https://flic.kr/p/5aghr9
![Page 9: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/9.jpg)
Equity Fund Account Case
• A bank offers its customers the service of investing in stock through equity accounts
• Each account may target specific types of stock, e.g. only fair trade companies in Africa
• An account may only include stock satisfying the account limitations
• A customer may have multiple accounts
• Each account may have different risks
• Assignment: Write an application service allowing customers to trade stocks
[1] http://upload.wikimedia.org/wikipedia/commons/4/4c/Emblem-money.pngBy Spider death (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons
[1]
![Page 10: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/10.jpg)
Analysis
No common understanding
Focus on independence
Ambiguous requirements
Parallel work to ensure time efficiency
![Page 11: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/11.jpg)
Stop Fumbling in the Dark…
https://flic.kr/p/9J6ZYG
![Page 12: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/12.jpg)
The old problem we always try to solve
Cost for solving bugs
Time elapsed
HOW?
![Page 13: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/13.jpg)
Our savior?
http://martinfowler.com/books/continuousDelivery.html
![Page 14: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/14.jpg)
bugs are still expensive
Cost for solving bugs
Time elapsed
![Page 16: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/16.jpg)
observation -collaboration
DDD modeling
Pair programming
Pen test collaboration
![Page 17: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/17.jpg)
The Omegapoint Way
https://flic.kr/p/68hEqK
![Page 18: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/18.jpg)
Biggest Bang for the Buck
[2]
[2] https://www.flickr.com/photos/teddylambec/3581134792/
Time
Cost
Quality
![Page 19: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/19.jpg)
Different Roles
• Developers still need to develop code
• Testers still need to develop tests
• However, we both want to develop software that is quality assured!
![Page 20: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/20.jpg)
Strategic Development
Continuously analyze risks
Tactical testing
See the whole map
Logic review
![Page 21: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/21.jpg)
Bugs
[3] https://www.flickr.com/photos/joealterio/3154810970/
![Page 22: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/22.jpg)
our new savior!
Cost for solving bugs
Time elapsed
+
![Page 23: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/23.jpg)
Why isn’t the Omegapoint way the standard way?
Culture
Not objective
Overall cost
![Page 24: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/24.jpg)
overall effects?
Team constellations
Productivity
Quality
Overall cost
![Page 25: Studentkonferens 2015 1 + 1 = 1 (The Omegapoint Way)](https://reader030.fdocuments.us/reader030/viewer/2022032421/55a664dd1a28abe11b8b4673/html5/thumbnails/25.jpg)
Q & A
https://flic.kr/p/9ksxQa