Show HN: VolcAPI run your OpenAPI spec as a test suite from the terminal

hackernews | | 📰 뉴스
#하드웨어/반도체 #api testing #cli #openapi #postman #test suite
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

OpenAPI 명세서와 Postman 컬렉션을 중복 관리하는 문제를 해결하기 위해 개발된 'VolcAPI'는 명세서 내에 테스트 시나리오를 직접 정의하고 CLI에서 실행할 수 있는 도구입니다. Go로 작성된 이 도구는 의존성 없이 GET, POST 등의 요청과 응답 검증을 지원하며, 향후 JUnit XML 출력이 완료되면 CI/CD 파이프라인에 쉽게 통합될 예정입니다.

본문

I got tired of maintaining two files that describe the same thing: an OpenAPI spec for documentation and a Postman collection for testing. They always drift. Someone updates the spec, forgets the collection. A new engineer joins and runs outdated tests against an endpoint that was changed two months ago.<p>VolcAPI lets you define test scenarios directly inside your OpenAPI spec using a custom extension (v-functional-test), then run them from the CLI. Single source of truth.</p><p>It&#x27;s a Go binary no runtime, no node_modules. The goal is for it to drop into GitHub Actions with zero friction once JUnit XML output lands (in progress).</p><p>Repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;aliamerj&#x2F;volcapi" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aliamerj&#x2F;volcapi</a></p><p>This is early alpha. GET&#x2F;POST&#x2F;PUT&#x2F;DELETE work, response validation works, environment configs work. CI output formats are the next thing I&#x27;m building.</p><p>Honest question for the HN crowd: is the &quot;spec as test suite&quot; concept something you&#x27;d actually use, or do you prefer keeping tests separate from the spec? I&#x27;ve gone back and forth on this and would genuinely like to hear from people who&#x27;ve felt this pain.</p>

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →