Cargo has an extensive test suite. Most of it is implemented as integration
tests in the
testsuite directory. There are several other tests:
- Unit tests are scattered throughout.
- The dependency resolver has its own set of tests in the
- All of the packages in the
cratesdirectory have their own set of tests.
build-stdtest is for the build-std feature. It is separate since it has some special requirements.
- Documentation has a variety of tests, such as link validation, and the SemVer chapter validity checks.