Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Run A Single Unit Test With Rust cargo watch

This is what I'm using for a script to run a single test whenever there are code changes.

bash
#!/bin/bash

TEST_NAME=test_posts_basic
cargo watch -i "site" -x "test --lib $TEST_NAME --color always -- --nocapture"

- [TODO: Code shorthand span ] is what lets [TODO: Code shorthand span ] debugging messages show up. I find that very useful when working through things

[] Write up the individual parts

[] Write a post about just running integration tests with [TODO: Code shorthand span ]

[] Write up about about using all [TODO: Code shorthand span ] tests

Footnotes And References