diff options
Diffstat (limited to 'lib/eunit/doc/overview.edoc')
-rw-r--r-- | lib/eunit/doc/overview.edoc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/eunit/doc/overview.edoc b/lib/eunit/doc/overview.edoc index b4af31ae6a..df716cdeea 100644 --- a/lib/eunit/doc/overview.edoc +++ b/lib/eunit/doc/overview.edoc @@ -6,9 +6,9 @@ @title EUnit - a Lightweight Unit Testing Framework for Erlang @author Richard Carlsson <[email protected]> -@author Micka�l R�mond <[email protected]> +@author Mickaël Rémond <[email protected]> [http://www.process-one.net/] -@copyright 2004-2007 Micka�l R�mond, Richard Carlsson +@copyright 2004-2007 Mickaël Rémond, Richard Carlsson @version {@version}, {@date} {@time} @doc EUnit is a unit testing framework for Erlang. It is very powerful @@ -569,6 +569,9 @@ Examples: ```?assertMatch({found, {fred, _}}, lookup(bloggs, Table))''' ```?assertMatch([X|_] when X > 0, binary_to_list(B))''' </dd> +<dt>`assertNotMatch(GuardedPattern, Expr)'</dt> +<dd>The inverse case of assertMatch, for convenience. +</dd> <dt>`assertEqual(Expect, Expr)'</dt> <dd>Evaluates the expressions `Expect' and `Expr' and compares the results for equality, if testing is enabled. If the values are not @@ -583,6 +586,9 @@ Examples: ```?assertEqual("b" ++ "a", lists:reverse("ab"))''' ```?assertEqual(foo(X), bar(Y))''' </dd> +<dt>`assertNotEqual(Unexpected, Expr)'</dt> +<dd>The inverse case of assertEqual, for convenience. +</dd> <dt>`assertException(ClassPattern, TermPattern, Expr)'</dt> <dt>`assertError(TermPattern, Expr)'</dt> <dt>`assertExit(TermPattern, Expr)'</dt> |