Consumer-Driven Contract Tests for Microservices: A Case Study

被引:4
|
作者
Lehva, Jyri [1 ]
Makitalo, Niko [1 ]
Mikkonen, Tommi [1 ]
机构
[1] Univ Helsinki, Dept Comp Sci, Helsinki, Finland
基金
芬兰科学院;
关键词
Consumer-driven contract testing; Design by contract; Microservices; Test planning; Integration testing; Test coverage;
D O I
10.1007/978-3-030-35333-9_35
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Design by contract is a paradigm that aims at capturing the interactions of different software components, and formalizing them so that they can be relied upon in other phases of the design. Such a characteristic is especially helpful in the context of microservice architecture, where each service is an independent entity that can be individually (re)deployed. With contracts, testing of microservice based systems can be improved so that also the integration of different microservices can be tested in isolation by the developers working on the system. In this paper, we study how systems based on microservice architecture and their integrations can be tested more effectively by extending the testing approach with consumer-driven contract tests. Furthermore, we study how the responsibilities and purposes of each testing method are affected when introducing the consumer-driven contract tests to the system.
引用
收藏
页码:497 / 512
页数:16
相关论文
共 50 条
  • [21] Transition to Consumer-Driven Value Chains in The Netherlands
    Buurma, J. S.
    Lamine, C.
    Haynes, I.
    [J]. XXVIII INTERNATIONAL HORTICULTURAL CONGRESS ON SCIENCE AND HORTICULTURE FOR PEOPLE (IHC2010): INTERNATIONAL SYMPOSIUM ON INTEGRATING CONSUMERS AND ECONOMIC SYSTEMS, 2012, 930 : 69 - 75
  • [22] Consumer-Driven Demand and Operations Management Models
    Stecca, G.
    [J]. JOURNAL OF THE OPERATIONAL RESEARCH SOCIETY, 2010, 61 (12) : 1796 - 1797
  • [23] Consumer-driven design and evaluation of broadband labels
    Choy, Christopher
    Young, Ellie
    Li, Megan
    Cranor, Lorrie Faith
    Peha, Jon M.
    [J]. TELECOMMUNICATIONS POLICY, 2024, 48 (05)
  • [24] Are physicians ready to practice in a consumer-driven environment?
    Pollack, C.
    Mallya, G.
    Polsky, D.
    [J]. JOURNAL OF GENERAL INTERNAL MEDICINE, 2008, 23 : 249 - 249
  • [25] Slash Expenses with Consumer-Driven Health Plans
    Goldberg, Stephen R.
    Lindquist, Stanton C.
    Danko, Dori
    [J]. JOURNAL OF CORPORATE ACCOUNTING AND FINANCE, 2005, 16 (03): : 3 - 11
  • [26] Consumer-driven product development in the kiwifruit industry
    Jaeger, SR
    Rossiter, KL
    Wismer, WV
    Harker, FR
    [J]. FOOD QUALITY AND PREFERENCE, 2003, 14 (03) : 187 - 198
  • [27] Preparing for a Consumer-Driven Genomic Age.
    Evans, James P.
    Dale, David C.
    Fomous, Cathy
    [J]. NEW ENGLAND JOURNAL OF MEDICINE, 2010, 363 (12): : 1099 - 1103
  • [28] Interest grows in consumer-driven health plans
    不详
    [J]. AMERICAN JOURNAL OF HEALTH-SYSTEM PHARMACY, 2003, 60 (02) : 130 - 130
  • [29] Coordinated care in a 'consumer-driven' health system
    Yegian, Jill Mathews
    [J]. HEALTH AFFAIRS, 2006, 25 (06) : W531 - W536
  • [30] Consumer-Driven API Testing with Performance Contracts
    Staehlin, Johannes
    Lang, Sebastian
    Kajzar, Fabian
    Zirpins, Christian
    [J]. ADVANCES IN SERVICE-ORIENTED AND CLOUD COMPUTING (ESOCC 2016), 2018, 707 : 135 - 143