The series of Command objects generated by the pipeline is then run by an interpreter using runEffect(checkoutFlow(cartSummary)). Because our business logic consists of pure functions that interact with the world only through data, we can record those interactions simply by adding a few hooks for services like OpenTelemetry. And if we can record them, we can replay them deterministically. Best of all, there’s no need to mock a single database or external service.
Continue reading...
,详情可参考快连下载安装
讲述人:深圳市恒天吉科技技术发展有限公司董事长 肖汉宇
Rebecca Morelle, Alison Francis and Greg BrosnanBBC Science