tbeseda

=> Home | All Posts

Run Hurl tests against a Node.js server

#!/bin/bash
set -eu # throw if things go bad

echo "Booting server"
npm run start &
serverPid=$!

sleep 2 # a smarter script would ping server

echo -e "\nRunning Hurl tests\n"
npx hurl --test test/integration/*.hurl

echo -e "Stopping server <${serverPid}>"
kill $serverPid


=> All Posts

Proxy Information
Original URL
gemini://tbeseda.smol.pub/hurl-test-node-server
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
275.954119 milliseconds
Gemini-to-HTML Time
0.414802 milliseconds

This content has been proxied by September (ba2dc).