Skip to main content

write-hurl-e2e

Writes Hurl end-to-end .hurl test files under tests/ for NeoHaskell features — POST /commands/kebab-name and GET /queries/kebab-name on localhost:8080 — with [Captures] to bind entityId, [Asserts] to verify responses, and [Options] retry for eventually- consistent queries. Run with neo test. This is the OUTER HTTP loop, written FIRST in each slice (RED) while the endpoint still returns 404. Use to add an e2e/.hurl test, test a command or query OVER HTTP, assert a 400 Rejected on a reject path, verify an integration side-effect fired via a query, or capture and reuse an entityId. Covers both query shapes: paginated ($.items/$.total/$.hasMore) and bare array ($[?...]). Do NOT use for in-memory acceptance or property specs (write-feature-tests), Decider/Projection/Outbound Hspec unit specs (write-unit-tests), wiring the endpoint live (wire-feature), or manually curling a running app (neo-run-and-inspect).

跳到安装

来源信息

仓库
neohaskell/skills
最近来源活动
2026年7月1日 22:02
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。