A Bun-based TypeScript project for generating and running automated API tests from OpenAPI/Swagger specs.
- Bun v1.2.8 or newer must be installed.
Install dependencies with:
bun installRun all project operations via the interactive menu:
bun run index.tsThis will present a menu where you can:
- Run the main test suite (
generated_student_test.ts) - Generate a new test file (using
generate.ts) - List and run any other
test.*.tsfiles - Exit
You no longer need to remember or run different entry points directly. Everything is accessible from the menu.
generated_student_test.ts: Main test suite (default entry for test runs)generate.ts: Script to generate new test files for students/APIstest_helpers.ts: Helper functions and test utilitiesindex.ts: Minimal entry point (prints a hello message)
- This project was created using
bun initin bun v1.2.8. Bun is a fast all-in-one JavaScript runtime. - TypeScript is used; see
tsconfig.jsonfor configuration. - Dependencies are managed via Bun (see
package.json).