Commit Graph
784 Commits
Author SHA1 Message Date
Carol (Nichols || Goulding) fc85e09e23 Fix transition since we swapped testing and I/O 2016-11-29 12:05:27 -05:00
Carol (Nichols || Goulding) 462816a573 Use the new caption markup 2016-11-28 12:30:33 -05:00
Carol (Nichols || Goulding) dfbc764db0 Fix a few things I noticed skimming the rendered content 2016-11-28 12:28:09 -05:00
Carol (Nichols || Goulding) 9b14e3735b Merge pull request #288 from rust-lang/testing
new chapter: testing
2016-11-28 11:50:58 -05:00
Carol (Nichols || Goulding) 093935fb90 More robust, not safer 2016-11-28 11:39:34 -05:00
Carol (Nichols || Goulding) 97faa24c22 Merge remote-tracking branch 'origin/nostarch-ch8' 2016-11-28 10:24:58 -05:00
Carol (Nichols || Goulding) f9216565b3 Transfer some changes from the doc that didn't make it over 2016-11-28 10:21:40 -05:00
Carol (Nichols || Goulding) 15397f4f00 Add more filenames; use valid caption markup 2016-11-28 10:17:40 -05:00
Carol (Nichols || Goulding) 8dc8c796c3 Add a recommendation to stick to owned types
Fixes #305.
2016-11-28 09:28:30 -05:00
Carol (Nichols || Goulding) 985b93c2e9 Add some listing numbers to code blocks 2016-11-28 09:28:30 -05:00
Carol (Nichols || Goulding) 347d1e448a Fixing the code formatting in the box header 2016-11-28 09:28:30 -05:00
Carol (Nichols || Goulding) de4ecc002e Make changes from the doc in src 2016-11-28 09:28:30 -05:00
Carol (Nichols || Goulding) 2067b6e2bf Make the keywords section be a box like it will be in the doc 2016-11-28 09:25:03 -05:00
Carol (Nichols || Goulding) 74d6fc999b Add valid markup for code snippets/filenames/captions
So that we can style these nicer.

Also make all filenames in prose be italics, not code formatting.

Also fix some messed-up listing numbers.
2016-11-28 09:25:03 -05:00
Carol (Nichols || Goulding) b45eae6b86 Change colon to period 2016-11-28 09:09:33 -05:00
Carol (Nichols || Goulding) 09fe24c7f6 Fix a name we changed but missed a spot
Fixes #336.
2016-11-27 11:29:43 -05:00
Carol (Nichols || Goulding) d242dc44a7 Adding some listing numbers 2016-11-27 11:26:48 -05:00
Carol (Nichols || Goulding) e3554b774b Show test name matching works for module names too 2016-11-27 11:10:23 -05:00
Carol (Nichols || Goulding) 316db3e56d Add a paragraph about needing PartialEq and Debug
Also make the pseudocode a bit more accurate
2016-11-27 11:02:12 -05:00
Carol (Nichols || Goulding) 5e49128509 Fix error about what the eq and ne macros actually do
Thank you @daschl!!!
2016-11-27 10:36:53 -05:00
Carol (Nichols || Goulding) a68f2faf08 Shorten section about integration test modules
And add a section about integration testing binary crates
2016-11-26 14:02:19 -05:00
Carol (Nichols || Goulding) 0c2258f6af Remove an example that doesn't illustrate what we want 2016-11-25 19:06:51 -05:00
Carol (Nichols || Goulding) d1107eccf5 Carol's edits to the testing chapter
Reorganize a bit, make some of the examples a bit more concrete
2016-11-25 17:48:56 -05:00
Carol (Nichols || Goulding) 97ffe9fdd9 Remove the Debugging chapter that snuck back in 2016-11-25 15:24:58 -05:00
steveklabnik 182fa3da0d Add notes about parallelism 2016-11-25 15:24:58 -05:00
steveklabnik 71b87e03d7 swap order of sections to resolve @carols10cents @jonathandturner's concerns 2016-11-25 15:24:58 -05:00
Steve Klabnik 2f4c61dc06 remove myself 2016-11-25 15:24:58 -05:00
Steve Klabnik a49d644aad add stuff about running subsets of tests 2016-11-25 15:24:58 -05:00
Steve Klabnik aefa195dd9 Remove 'documentation tests' bit
that goes in the 'creating a library' section
2016-11-25 15:24:58 -05:00
Steve Klabnik 5428b7f5ba add error message for assert_eq 2016-11-25 15:24:58 -05:00
Steve Klabnik 62bfe3ad4c rename to unit testing 2016-11-25 15:24:58 -05:00
Steve Klabnik a85af065be initial import/re-write of testing chapter 2016-11-25 15:24:58 -05:00
Steve Klabnik 0097f8c6dc set up 2016-11-25 15:24:58 -05:00
Carol (Nichols || Goulding) fbde6631aa Change some lingering uses of bash syntax highlighting to text 2016-11-25 15:24:46 -05:00
Carol (Nichols || Goulding) 9d60b73816 Clarify text about four spaces
Fixes #309.
2016-11-24 21:52:17 -05:00
Carol (Nichols || Goulding) 635f7b5202 Make edits to ch8 as a result of edits/questions from nostarch 2016-11-20 18:27:24 -05:00
David Wickes 4aa8b91c93 Small typo
`IPAddr` to `IpAddr`

Enjoying my readthrough :D
2016-11-20 00:55:36 +00:00
steveklabnik f3475a6652 Make it clear that mod isn't specific to lib.rs
Fixes #328.
2016-11-17 13:12:47 -05:00
Carol (Nichols || Goulding) 38c1c09437 Merge remote-tracking branch 'origin/generics' 2016-11-14 14:30:16 -05:00
Carol (Nichols || Goulding) c346df7a56 Rename a function to something other than lifetime to prevent confusion 2016-11-14 14:24:13 -05:00
Carol (Nichols || Goulding) a28ffd668d Swap some emphasis underscores for asterisks 2016-11-14 14:23:18 -05:00
Carol (Nichols || Goulding) f341124f33 Add some filenames and fn mains for clarity 2016-11-14 14:20:35 -05:00
Carol (Nichols || Goulding) 031619a189 Add a bit about lifetime annotations on methods 2016-11-14 13:37:53 -05:00
Carol (Nichols || Goulding) df309071ee Remove a sentence that didn't really say anything 2016-11-14 12:47:33 -05:00
Carol (Nichols || Goulding) e6e56ed7d4 Reword to not say concept 2016-11-14 12:47:01 -05:00
Carol (Nichols || Goulding) 3c38b59ab6 Replace all uses of bash syntax highlighting
Since none of these are actually bash scripts :)

Changed all the instances in the src files to text, which, since my PR
to mdbook got accepted, will still do code background colors but no
syntax highlighting.

Fixes #295 and #327.
2016-11-14 12:18:48 -05:00
Carol (Nichols || Goulding) bdc1a88cf7 Missed a language annotation 2016-11-13 17:50:49 -05:00
Carol (Nichols || Goulding) 9d63caa674 Rework lifetime examples 2016-11-13 17:47:54 -05:00
Carol (Nichols || Goulding) aa269b9f61 Revisions prompted by comments from pornel 2016-11-12 14:36:43 -05:00
Carol (Nichols || Goulding) 775fbff97b Fix the tests; clarify that this is just a fn signature 2016-11-12 13:20:45 -05:00