180 likes | 331 Views
ASSURING QUALITY IN BORSA ISTANBUL:. From A to Z. About Me. Assistant Director @ IsaGoksu http://github.com/isa. I get paid by the code that works , not for the tests. Secret Sauce. Organize It Well Regress It Well Build a Pipeline. Organize It Well.
E N D
ASSURINGQUALITYIN BORSA ISTANBUL: From A to Z
About Me • Assistant Director • @IsaGoksu • http://github.com/isa
Secret Sauce • Organize It Well • Regress It Well • Build a Pipeline
Organize It Well • Habit of having good test cases all the time • Have testing pyramid setup • Consumer driven contracts for cross-functionality
Build the Habit • Automated • Specification by Examples • Early in the Cycle • Fast Feedback Loops • Simple • Not Fragile • Truthful
Consumer-Driven Contracts • Design by Contract • Write Tests against these contracts • Don’t run yourself, just give it
Regress It Well • Safety net • Run Often • If needed parallelize it
Regressing Trading Engine • Full Regression in 67 minutes • Fully automated • Run 52,567 tests • Dynamic Configuration per each-run including securities, sessions, data, etc • Various types of securities
Build a Pipeline • Virtualization • Infrastructure • Continuous Delivery Pipeline
Virtualization • Time • Dynamic provisioning • Easily configurable • Snapshots
Infrastructure Message Store Gateway 1 Trading Engine Gateway 2 Gateway 3 Gateway 4 Test Controller Gateway 5 Gateway 6 E-Mail Server Client 1 Log Server Client 2 Orders & Transactions Client 3 Client 4 Client 5 Client 6
Continuous Delivery Pipeline Central Repository SVN One Click Deployment
Q/A ? ? ?