Skip to content

Rust testing frameworks for unit-, integration- and system-tests

License

Notifications You must be signed in to change notification settings

abelikt/rust_testing_frameworks

Repository files navigation

Rust testing frameworks for unit-, integration- and system-tests

... tried out.

Folders herein:

  • untested_code: A piece of untested code that should serve as template for further tests

  • mockall_mock_a_sensor: Multiple approaches with cargo test and mockall (not in sync with the template

  • {F}_experiment : Some experiments with Framework F

Used / tested / tried already:

Usabilty for UT, IT, ST and general impression:

  • polish: Impression --
  • rstest: Impression ++

ToDo List

To-Do list - frameworks:

BDD

To-Do list - helpers, macros, etc

To-Do list - test doubles

More hints are on:

Ideas for new templates

Add a code template for a system test that calls processes; with other permissions; sudo, sudo -E; runs regex on stderr and stdout; injects stdtin; calls processes in sub-shells; call system management like systemd.

Furhter Links

About

Rust testing frameworks for unit-, integration- and system-tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages