about summary refs log tree commit diff
path: root/src/doc/guide-testing.md
AgeCommit message (Collapse)AuthorLines
2014-09-23Deprecate `#[ignore(cfg(...))]`Steven Fackler-2/+2
Replace `#[ignore(cfg(a, b))]` with `#[cfg_attr(all(a, b), ignore)]`
2014-08-12guide-testing.md: add auxiliary verbPhilipp Gesang-1/+1
2014-06-24librustc: Remove the fallback to `int` from typechecking.Niko Matsakis-3/+3
This breaks a fair amount of code. The typical patterns are: * `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`; * `println!("{}", 3)`: change to `println!("{}", 3i)`; * `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`. RFC #30. Closes #6023. [breaking-change]
2014-06-20testing guide: update to use `test_harness` & fix problems.Huon Wilson-25/+21
rustdoc now supports compiling things with `--test` so the examples in this guide can be compiled & tested properly (revealing a few issues & out-dated behaviours). Also, reword an example to be clearer, cc #12242.
2014-06-02docs: Stop using `notrust`Florian Gilcher-9/+9
Now that rustdoc understands proper language tags as the code not being Rust, we can tag everything properly. This change tags examples in other languages by their language. Plain notations are marked as `text`. Console examples are marked as `console`. Also fix markdown.rs to not highlight non-rust code.
2014-05-15test: allow the test filter to be a regex.Huon Wilson-7/+27
This is fully backwards compatible, since test names are Rust identifiers + `:`, and hence not special regex characters. Fixes #2866.
2014-04-14auto merge of #13477 : Manishearth/rust/newattr, r=brsonbors-2/+2
See #13476
2014-04-12Update tutorials to use new attribute syntax (#13476)Manish Goregaokar-2/+2
2014-04-11libtest: rename `BenchHarness` to `Bencher`Liigo Zhuang-7/+7
Closes #12640
2014-03-20rename std::vec -> std::sliceDaniel Micay-3/+3
Closes #12702
2014-03-09docs: adjust code blocks to pass with rustdoc.Huon Wilson-0/+10
The changes are basically just because rustdoc runs tests/rendering on more snippets by default (i.e. everything without a `notrust` tag), and not anything significant.
2014-02-20move extra::test to libtestLiigo Zhuang-8/+9
2014-02-14extern mod => extern crateAlex Crichton-2/+2
This was previously implemented, and it just needed a snapshot to go through
2014-02-09Expand the testing guide to cover optimizations, benchmarks and how toHuon Wilson-56/+130
be more precise about what's being benchmarked. Also, reorganise the layout a bit, to put examples directly in their sections.
2014-02-02Move doc/ to src/doc/Alex Crichton-0/+262
We generate documentation into the doc/ directory, so we shouldn't be intermingling source files with generated files