Skip to content

Commit

Permalink
Replace "black box" with alternative term
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jun 17, 2020
1 parent 972c01c commit 9acb5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/asciidoc/testing.adoc
Expand Up @@ -7268,7 +7268,7 @@ Another important distinction when using Spring MVC Test is that, conceptually,
tests are the server-side, so you can check what handler was used, if an exception was
handled with a HandlerExceptionResolver, what the content of the model is, what binding
errors there were, and other details. That means that it is easier to write expectations,
since the server is not a black box, as it is when testing it through an actual HTTP
since the server is not an opaque box, as it is when testing it through an actual HTTP
client. This is generally an advantage of classic unit testing: It is easier to write,
reason about, and debug but does not replace the need for full integration tests. At the
same time, it is important not to lose sight of the fact that the response is the most
Expand Down

0 comments on commit 9acb5b1

Please sign in to comment.