Skip to content
/ rust Public template

A simple starter project for TDD in Rust

Notifications You must be signed in to change notification settings

tdd-starters/rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust TDD Starter

Simple starter for getting started with TDD in Rust.

The file src/calculator.rs contains one test case and a few in comments. Start by coming up with a few test cases and add them to the lists, then implement them one at a time, test-driving the solution forwards.

Libraries

  • rstest for parametrizing tests

Running

Tests are run by Cargo. Execute:

$ cargo test

to run all the tests.

Releases

No releases published

Packages

No packages published

Languages