Skip to content

fermyon/api-testing-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository is a companion to a blog post which walks through how to use Spin's built-in SQLite database, Hurl, and Github Actions to run automated tests against an API built with Spin.

Usage

Requirements

  • Latest version of Spin
  • Latest version of TinyGo
  • Latest version of Go supported by TinyGo
    • This can be checked by running tinygo version. At the time of this post's publishing, the latest supported version of Go is 1.22.
  • Latest version of Hurl

Building, Running, and Testing

To run and test the application, navigate to the root directory of the code. Once there, try the following commands:

Building the app

make build

Running the app

make run

Testing the app

make test

Stopping the app

make rm

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published