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)
a65c604ca6
Try turning caching back on
2016-11-20 19:07:46 -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
Carol (Nichols || Goulding)
a516b53fe5
Merge pull request #330 from gypsydave5/patch-1
...
Small typo
2016-11-20 12:35:55 -05:00
Carol (Nichols || Goulding)
724a8a48a3
Redirect stdout and stderr to /dev/null
2016-11-20 12:30:50 -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)
3510a9f216
Try not caching for a second
2016-11-16 20:36:36 -05:00
Carol (Nichols || Goulding)
efcd32776b
Force travis to reinstall mdbook for now
...
It seems to have cached 0.0.14, but I want to use master?
2016-11-16 20:03:00 -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)
dbe2c1aa0b
Install mdbook from github for the code block fix
...
Until a new version of mdbook is released, use github that has my fix
that makes all code blocks have hljs so that they have the gray
background.
2016-11-14 12:03:27 -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
Carol (Nichols || Goulding)
f0a27c8762
Some rearranging to Lifetimes, up until "But why?"
2016-11-11 18:13:31 -05:00
Carol (Nichols || Goulding)
5f298bab49
Revise traits, and a little bit in syntax to make names match
...
A bit of rearranging, a bit cut, changing names so everything isn't
called `print`
2016-11-11 16:42:34 -05:00
Carol (Nichols || Goulding)
a035990c05
Revisions to generics syntax, and a bit to the intro too
...
So i lied
2016-11-11 14:51:20 -05:00
steveklabnik
71d753f59e
Finish off lifetime syntax
2016-11-11 13:40:30 -05:00
Carol (Nichols || Goulding)
7a66566d88
Clarify parts of the function extraction example
2016-11-11 11:38:59 -05:00
Carol (Nichols || Goulding)
be0bf4a49b
Motivate dealing with duplication and relation to generics more
...
And foreshadow what we'll cover in this chapter.
2016-11-11 11:23:22 -05:00
Carol (Nichols || Goulding)
830c5832fe
Clarify a statement about the lifetime elision rules
2016-11-11 11:01:51 -05:00
Carol (Nichols || Goulding)
e28b78dc2b
Add another question we need to answer
2016-11-11 10:56:42 -05:00
Carol (Nichols || Goulding)
befd5f681c
Be more precise about when naming lifetimes is required
2016-11-11 10:55:16 -05:00
Carol (Nichols || Goulding)
8da7f922e9
Add explicit outer blocks
2016-11-11 10:51:06 -05:00
Carol (Nichols || Goulding)
63a645dd45
Fixing analogy wording
2016-11-11 10:42:35 -05:00