Skip to content

Commit

Permalink
emphasize that TDD is just a tool
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 14, 2014
1 parent 776aec9 commit 46de638
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -354,8 +354,7 @@ the server has been stopped.
proxy => 1
Activate reverse proxy support, which allows for the C<X-Forwarded-For> and
C<X-Forwarded-Proto> headers to be picked up automatically, defaults to the
value of the C<MOJO_REVERSE_PROXY> environment variable.
C<X-Forwarded-Proto> headers to be picked up automatically.
=head2 upgrade_timeout
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides.pod
Expand Up @@ -114,7 +114,7 @@ Very Perl-ish and minimalistic template system.

=item L<Test::Mojo>

Test driven development toolkit for web applications.
Testing toolkit for web applications.

=item L<ojo>

Expand Down
12 changes: 6 additions & 6 deletions lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -117,13 +117,13 @@ storing everything JSON serialized and Base64 encoded in HMAC-SHA1 signed
cookies, which is more compatible with the REST philosophy and reduces
infrastructure requirements.

=head2 Test Driven Development
=head2 Test-Driven Development

TDD is a software development process where the developer starts writing
failing test cases that define the desired functionality and then moves on to
producing code that passes these tests. There are many advantages such as
always having good test coverage and code being designed for testability,
which will in turn often prevent future changes from breaking old code. Most
which will in turn often prevent future changes from breaking old code. Much
of L<Mojolicious> was developed using TDD.

=head1 PROTOTYPE
Expand Down Expand Up @@ -274,8 +274,8 @@ once.

=head2 Testing

In L<Mojolicious> we take test driven development very serious and try to
promote it wherever we can.
In L<Mojolicious> we take testing very serious and try to make it a pleasant
experience.

$ mkdir t
$ touch t/login.t
Expand Down Expand Up @@ -708,8 +708,8 @@ C<t/login.t> can be simplified.

done_testing();

Test driven development takes a little getting used to, but is very well worth
it!
Test-driven development takes a little getting used to, but can be a very
powerful tool.

=head1 MORE

Expand Down

0 comments on commit 46de638

Please sign in to comment.