Skip to content

cbinzer/dog-tricks-api-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Dog Tricks API ๐Ÿ• - Testing

This repository contains the example code for the blog post Testing in Rust and Axum. It builds on the Dog Tricks API from the previous article.

Features

  • Unit tests for the service layer
  • Integration tests for HTTP routes
  • Exporting the Axum router through lib.rs

Getting Started

Prerequisites

  • Rust (latest stable recommended)
  • Cargo (comes with Rust)

Run the server

cargo run

Run the tests

cargo test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages