dfect 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +1 -0
- data/doc/api/{files/ANN_txt.html → classes/Class.html} +21 -28
- data/doc/api/classes/Dfect.html +446 -139
- data/doc/api/created.rid +1 -1
- data/doc/api/files/CREDITS.html +62 -0
- data/doc/api/files/LICENSE.html +4 -2
- data/doc/api/files/lib/dfect/auto_rb.html +4 -2
- data/doc/api/files/lib/dfect_rb.html +3 -1
- data/doc/api/js/searchdoc.js +1 -2
- data/doc/api/panel/search_index.js +1 -1
- data/doc/history.erb +31 -2
- data/doc/index.xhtml +773 -0
- data/doc/intro.erb +28 -15
- data/doc/setup.erb +4 -4
- data/doc/usage.erb +105 -46
- data/lib/dfect.rb +385 -87
- data/rakefile +4 -2
- data/test/dfect.rb +168 -15
- metadata +21 -19
data/CREDITS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* [François Beausoleil](http://github.com/francois)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
|
-
<title>
|
6
|
+
<title>Class</title>
|
7
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
8
|
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
|
9
9
|
<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
|
@@ -15,44 +15,37 @@
|
|
15
15
|
<body>
|
16
16
|
<div class="banner">
|
17
17
|
<h1>
|
18
|
-
|
18
|
+
<span class="type">Class</span>
|
19
|
+
Class
|
20
|
+
|
21
|
+
<span class="parent"><
|
22
|
+
|
23
|
+
<a href="Object.html">Object</a>
|
24
|
+
|
25
|
+
</span>
|
26
|
+
|
19
27
|
</h1>
|
20
28
|
<ul class="files">
|
21
|
-
|
22
|
-
<li>
|
29
|
+
|
30
|
+
<li><a href="../files/lib/dfect_rb.html">lib/dfect.rb</a></li>
|
31
|
+
|
23
32
|
</ul>
|
24
33
|
</div>
|
25
|
-
|
26
34
|
<div id="bodyContent">
|
27
35
|
<div id="content">
|
28
36
|
|
29
|
-
<div class="description"
|
30
|
-
|
31
|
-
|
32
|
-
Assertion testing library for Ruby
|
33
|
-
|
34
|
-
http://snk.tuxfamily.org/lib/dfect
|
35
|
-
|
36
|
-
Dfect is an assertion testing library for Ruby that
|
37
|
-
emphasizes a simple assertion vocabulary, instant
|
38
|
-
debuggability of failures, and flexibility in composing
|
39
|
-
tests.
|
40
|
-
</pre>
|
41
|
-
<p>
|
42
|
-
Version 0.0.0 (2009-04-13)
|
37
|
+
<div class="description">
|
38
|
+
<p>
|
39
|
+
YAML raises this error when we try to serialize a class:
|
43
40
|
</p>
|
44
41
|
<pre>
|
45
|
-
|
46
|
-
by [1]Philip Plumlee's musing on alternative names for
|
47
|
-
assertion methods.
|
42
|
+
TypeError: can't dump anonymous class Class
|
48
43
|
</pre>
|
49
44
|
<p>
|
50
|
-
|
45
|
+
Work around this by representing a class by its name.
|
51
46
|
</p>
|
52
|
-
|
53
|
-
|
54
|
-
</pre>
|
55
|
-
</div>
|
47
|
+
|
48
|
+
</div>
|
56
49
|
|
57
50
|
|
58
51
|
|
@@ -77,4 +70,4 @@ References
|
|
77
70
|
</div>
|
78
71
|
</div>
|
79
72
|
</body>
|
80
|
-
</html>
|
73
|
+
</html>
|