原书出处
Automating API Delivery APIOps with OpenAPI
10 自定义 Lint 与安全检查 10.1 The need for custom functions
All the usual rules of writing unit tests apply here. Your test should make clear what is the subject under test (SUT)—that is, the ruleset you’re testing. It should invoke the operation you’re testing (i.e., the name of your new rule) with the data it’s testing against—an example API definition against which the rule should either pass or report problems
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-10.xhtml#p25
EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e