TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Spaceport – Low-code tool that executes specs as tests

2 点作者 kkaatii5 个月前
This is still a proof-of-concept but criticism and comments are very welcome.<p>I was fed up (and also very inexperienced) writing system and end-to-end tests so I made this. The implementation is a bit convoluted but the basic idea is:<p>1. An LLM writes the specs based on READMEs, design docs, references, etc.<p>2. Another LLM turns specs into a Python DSL<p>3. An interpreter runs the DSL<p>You may review and edit the outputs of step 1 and 2 in one text file, and fill in necessary info to properly set up the tests (like describing how data should be validated when the data schema is an implementation detail).<p>Comparison:<p>- vs. Cucumber&#x2F;Gherkin - Unlike Cucumber, (ideally) you write minimal code with Spaceport<p>- vs. Unit&#x2F;integration tests - This is not a replacement but a complement because unit and integration tests are cumbersome to write in natural language--lots of rigid actions and data schemas

暂无评论

暂无评论