Greetings,
Rust has its own small unit testing framework now, and to celebrate I've
converted the entire Rust test suite to use it. The run-pass, run-fail,
compile-fail, and bench tests are still written the same way, but now
there is an additional test crate for tests of the standard library, and
unit tests may be included directly in rustc itself to test compiler
internals. The build rule to run the tests is still 'make check', but
the details of how to run specific tests have changed.
The commit message has an overview:
https://github.com/graydon/rust/commit/2573fe7026eb696841acbba8f3d1c09e2224acf0
There is a new wiki page about unit testing in Rust:
https://github.com/graydon/rust/wiki/Unit-testing
And finally, there is a new wiki page describing various details of how
to work with the Rust test suite:
https://github.com/graydon/rust/wiki/The-Rust-test-suite
Hopefully this transition will go pretty smoothly. Please log any issues
you find.
Regards,
Brian
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev