Preview of Kola

 

 

 What's ApiHug Kola - ApiHugKola background, why we create kola, about Kolaicon-default.png?t=N7T8https://apihug.com/docs/kola/001_what_is_kola

图片

Summary

Kola is a testing framework and tool, primarily serving the entire Apihug ecosystem, and is still under active development and enhancement (as of 2024/08).

Kola inherits the design principles of ApiHug:

  1. Unified language, DSL, and reduced divergence

  2. Relying on existing technologies, maximizing the utilization of existing assets

  3. Extremely low learning cost

  4. Single source of truth, with version control management

Existing Challenges

  1.  Testing often requires either high expertise (programming skills) or is too loosely structured

  2. Multiple tool stacks and lack of context switching between different roles

  3. Lack of design planning upfront

  4. Rigorous version management

  5. Native Collaboration

Existing Concepts

  1. TDD: Test Driven Development

  2. BDD: Behavior-Driven Development

  3. CDC: Consumer Driven Contracts

So

Among the many testing solutions available, each has its own pros and cons, leading to a lack of overall convenience and completeness in most integrated solutions.

Some deficiencies are difficult to satisfy in the current paradigm, such as enabling all stakeholders (product manager, front-end, back-end, testing, etc.) to understand and write the tests, and providing a centralized and unified testing management.

Within the constrained environment of ApiHug, Kola provides a relatively optimal solution:

  1. Follows the BDD naming convention: Given/When/Then/And, intuitive and simple

  2. DSL, based on the declarative groovy syntax

  3. Strong validation: static checking (groovy) + compilation processing

  4. More "sugar", enabling user habit migration: junitjunit5assertjjsonpathrest-assured

  5. ApiHug integration

  6. IDE support

  7. Collaboration

Eventually, on 2024-08-02, the first version of Kola, 1.0.0-RELEASE was released with latest ApiHug SDK bom.

Dependencies

Kola leverages a robust foundation of established, best-in-class third-party libraries and frameworks to deliver a comprehensive testing solution.

IDEA

图片

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ApiHug

God Bless U

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值