summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2017-08-11 01:25:06 (GMT)
committerGitHub <noreply@github.com>2017-08-11 01:25:06 (GMT)
commit4283f264d6ee56888d61d175ee613286395f1f9d (patch)
tree039099f6b445e4ce19fb8f4e7facfb10e721238d /googlemock
parentc822c85659d5dfadd19d49c0c87894bb34b56123 (diff)
parent0fdf78b9667bdbe4560ff067bbd5e9bca6db74fb (diff)
downloadgoogletest-4283f264d6ee56888d61d175ee613286395f1f9d.zip
googletest-4283f264d6ee56888d61d175ee613286395f1f9d.tar.gz
googletest-4283f264d6ee56888d61d175ee613286395f1f9d.tar.bz2
Merge pull request #957 from sglass68/sim
Fix a few documentation nits in the mock dummies guide
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/docs/ForDummies.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/docs/ForDummies.md b/googlemock/docs/ForDummies.md
index 892f1be..0bf528e 100644
--- a/googlemock/docs/ForDummies.md
+++ b/googlemock/docs/ForDummies.md
@@ -23,8 +23,8 @@ Using Google Mock involves three basic steps:
# Why Google Mock? #
While mock objects help you remove unnecessary dependencies in tests and make them fast and reliable, using mocks manually in C++ is _hard_:
- * Someone has to implement the mocks. The job is usually tedious and error-prone. No wonder people go great distance to avoid it.
- * The quality of those manually written mocks is a bit, uh, unpredictable. You may see some really polished ones, but you may also see some that were hacked up in a hurry and have all sorts of ad hoc restrictions.
+ * Someone has to implement the mocks. The job is usually tedious and error-prone. No wonder people go great distances to avoid it.
+ * The quality of those manually written mocks is a bit, uh, unpredictable. You may see some really polished ones, but you may also see some that were hacked up in a hurry and have all sorts of ad-hoc restrictions.
* The knowledge you gained from using one mock doesn't transfer to the next.
In contrast, Java and Python programmers have some fine mock frameworks, which automate the creation of mocks. As a result, mocking is a proven effective technique and widely adopted practice in those communities. Having the right tool absolutely makes the difference.