fit 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/CHANGELOG +27 -0
  2. data/{README.txt → README.rdoc} +28 -9
  3. data/Rakefile +44 -4
  4. data/bin/fit +29 -3
  5. data/doc/book/TestChatServer.html +207 -0
  6. data/doc/book/TestDiscount.html +178 -0
  7. data/doc/book/TestDiscountGroup.html +223 -0
  8. data/doc/book/TestDiscountMoney.html +179 -0
  9. data/doc/book/TestLateHours.html +245 -0
  10. data/doc/bugs/ColumnFixtureFollowedByActionFixture.html +316 -0
  11. data/doc/examples/MusicExampleWithErrors.html +1 -1
  12. data/doc/spec/annotation.html +3634 -3833
  13. data/doc/spec/index.html +1043 -947
  14. data/doc/spec/parse-windows-1252.html +3806 -0
  15. data/doc/spec/parse.html +3806 -3094
  16. data/doc/spec/ui.html +1537 -0
  17. data/lib/eg/all_files.rb +1 -1
  18. data/lib/eg/book/calculate_discount.rb +25 -0
  19. data/lib/eg/book/calculate_discount_money.rb +60 -0
  20. data/lib/eg/book/chat_server_actions.rb +85 -0
  21. data/lib/eg/book/discount_group_ordered_list.rb +59 -0
  22. data/lib/eg/book/rent/calculate_late_hours.rb +35 -0
  23. data/lib/eg/column_index.rb +4 -3
  24. data/lib/eg/music/display.rb +4 -2
  25. data/lib/eg/music/music.rb +4 -2
  26. data/lib/fat/command_line_fixture.rb +33 -0
  27. data/lib/fat/html_to_text_fixture.rb +3 -3
  28. data/lib/fit/column_fixture.rb +11 -7
  29. data/lib/fit/file_runner.rb +65 -10
  30. data/lib/fit/fixture.rb +10 -4
  31. data/lib/fit/fixture_loader.rb +29 -19
  32. data/lib/fit/parse.rb +46 -12
  33. data/lib/fit/type_adapter.rb +8 -3
  34. data/lib/fit/version.rb +26 -0
  35. data/lib/fitlibrary/comment_fixture.rb +12 -0
  36. data/lib/fitlibrary/spec/specify_fixture.rb +154 -0
  37. data/lib/fitlibrary/specify/column_fixture_under_test.rb +17 -0
  38. data/lib/fitlibrary/specify/column_fixture_under_test_with_args.rb +17 -0
  39. data/lib/fittask.rb +43 -47
  40. data/test/all_tests.rb +2 -1
  41. data/test/column_fixture_test.rb +26 -0
  42. data/test/file_runner_test.rb +2 -7
  43. data/test/fixture_loader_test.rb +16 -3
  44. data/test/parse_test.rb +18 -3
  45. data/test/type_adapter_test.rb +58 -44
  46. metadata +180 -156
metadata CHANGED
@@ -1,165 +1,189 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
3
- specification_version: 1
4
2
  name: fit
5
3
  version: !ruby/object:Gem::Version
6
- version: "1.1"
7
- date: 2006-05-21 00:00:00 +02:00
8
- summary: A Ruby port of FIT (Framework for Integrated Testing)
9
- require_paths:
10
- - lib
11
- email: giulio.piancastelli@gmail.com
12
- homepage: http://fit.rubyforge.org/
13
- rubyforge_project: fit
14
- description:
4
+ version: "1.2"
5
+ platform: ruby
6
+ authors:
7
+ - Giulio Piancastelli
15
8
  autorequire:
16
- default_executable:
17
9
  bindir: bin
18
- has_rdoc: false
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
10
+ cert_chain: []
11
+
12
+ date: 2009-10-14 00:00:00 +02:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: |
17
+ RubyFIT is a tool for enhancing communication and collaboration in
18
+ software development. It allows customers, testers, and programmers
19
+ to learn what their software should do and what it does do, by
20
+ automatically comparing customers' expectations to actual results.
21
+
22
+ email: giulio.piancastelli@gmail.com
23
+ executables:
24
+ - fit
25
+ extensions: []
26
+
27
+ extra_rdoc_files:
28
+ - README.rdoc
29
+ files:
30
+ - bin/fit
31
+ - bin/fit.cgi
32
+ - bin/FitServer.rb
33
+ - lib/eg/net/simulator.rb
34
+ - lib/eg/book/rent/calculate_late_hours.rb
35
+ - lib/eg/book/discount_group_ordered_list.rb
36
+ - lib/eg/book/calculate_discount_money.rb
37
+ - lib/eg/book/chat_server_actions.rb
38
+ - lib/eg/book/calculate_discount.rb
39
+ - lib/eg/music/browser.rb
40
+ - lib/eg/music/music_player.rb
41
+ - lib/eg/music/music.rb
42
+ - lib/eg/music/simulator.rb
43
+ - lib/eg/music/display.rb
44
+ - lib/eg/music/music_library.rb
45
+ - lib/eg/music/realtime.rb
46
+ - lib/eg/music/Music.txt
47
+ - lib/eg/example_tests.rb
48
+ - lib/eg/binary_chop.rb
49
+ - lib/eg/sqrt.rb
50
+ - lib/eg/all_combinations.rb
51
+ - lib/eg/arithmetic_fixture.rb
52
+ - lib/eg/all_pairs.rb
53
+ - lib/eg/nested/bob.rb
54
+ - lib/eg/nested/bob_the_builder_fixture.rb
55
+ - lib/eg/all_files.rb
56
+ - lib/eg/calculator.rb
57
+ - lib/eg/page.rb
58
+ - lib/eg/column_index.rb
59
+ - lib/eg/echo_args_fixture.rb
60
+ - lib/eg/arithmetic_column_fixture.rb
61
+ - lib/eg/division.rb
62
+ - lib/fat/html_to_text_fixture.rb
63
+ - lib/fat/reference_fixture.rb
64
+ - lib/fat/string_writer.rb
65
+ - lib/fat/divide.rb
66
+ - lib/fat/money.rb
67
+ - lib/fat/color.rb
68
+ - lib/fat/fixture_name_fixture.rb
69
+ - lib/fat/table.rb
70
+ - lib/fat/standard_annotation_fixture.rb
71
+ - lib/fat/command_line_fixture.rb
72
+ - lib/fat/output_fixture.rb
73
+ - lib/fat/table_parse_fixture.rb
74
+ - lib/fat/equals.rb
75
+ - lib/fat/document_parse_fixture.rb
76
+ - lib/fat/annotation_fixture.rb
77
+ - lib/fat/parse_fixture.rb
78
+ - lib/fat/text_to_html_fixture.rb
79
+ - lib/fit/fixture.rb
80
+ - lib/fit/timed_action_fixture.rb
81
+ - lib/fit/row_fixture.rb
82
+ - lib/fit/file_runner.rb
83
+ - lib/fit/fit_server.rb
84
+ - lib/fit/primitive_fixture.rb
85
+ - lib/fit/summary.rb
86
+ - lib/fit/type_adapter.rb
87
+ - lib/fit/scientific_double.rb
88
+ - lib/fit/parse.rb
89
+ - lib/fit/import_fixture.rb
90
+ - lib/fit/fit_protocol.rb
91
+ - lib/fit/wiki_runner.rb
92
+ - lib/fit/fixture_loader.rb
93
+ - lib/fit/column_fixture.rb
94
+ - lib/fit/action_fixture.rb
95
+ - lib/fit/version.rb
96
+ - lib/fitlibrary/spec/specify_fixture.rb
97
+ - lib/fitlibrary/comment_fixture.rb
98
+ - lib/fitlibrary/specify/column_fixture_under_test_with_args.rb
99
+ - lib/fitlibrary/specify/column_fixture_under_test.rb
100
+ - lib/fittask.rb
101
+ - test/fit_server_test.rb
102
+ - test/file_runner_test.rb
103
+ - test/fixtures/pass_fixture.rb
104
+ - test/fixtures/fail_fixture.rb
105
+ - test/all_tests.rb
106
+ - test/parse_test.rb
107
+ - test/scientific_double_test.rb
108
+ - test/framework_test.rb
109
+ - test/fixture_test.rb
110
+ - test/row_fixture_test.rb
111
+ - test/column_fixture_test.rb
112
+ - test/fixture_loader_test.rb
113
+ - test/type_adapter_test.rb
114
+ - doc/book/TestChatServer.html
115
+ - doc/book/TestDiscount.html
116
+ - doc/book/TestDiscountMoney.html
117
+ - doc/book/TestLateHours.html
118
+ - doc/book/TestDiscountGroup.html
119
+ - doc/bugs/ColumnFixtureFollowedByActionFixture.html
120
+ - doc/spec/parse.html
121
+ - doc/spec/annotation.html
122
+ - doc/spec/index.html
123
+ - doc/spec/parse-windows-1252.html
124
+ - doc/spec/ui.html
125
+ - doc/spec/fixtures.html
126
+ - doc/spec/extensions.html
127
+ - doc/fitnesse/FitNesse.RubY.AcceptanceTests.ImportFixture.html
128
+ - doc/fitnesse/FitNesse.RubY.AcceptanceTests.WaysToSpecifyaFixtureNamespace.html
129
+ - doc/fitnesse/FitNesse.RubY.AcceptanceTests.GracefulFixtureNames.html
130
+ - doc/fitnesse/FitNesse.RubY.AcceptanceTests.GracefulMemberNames.html
131
+ - doc/fitnesse/FitNesse.RubY.AcceptanceTests.FixtureParameters.html
132
+ - doc/examples/AllPairs.html
133
+ - doc/examples/arithmetic.html
134
+ - doc/examples/NetworkExample.html
135
+ - doc/examples/files/hp35bk.jpg
136
+ - doc/examples/ColumnIndex.html
137
+ - doc/examples/FitAcceptanceTests.html
138
+ - doc/examples/GeoCoordinate.html
139
+ - doc/examples/BinaryChop.html
140
+ - doc/examples/MusicExampleWithErrors.html
141
+ - doc/examples/AllPairs/sign/no-change.html
142
+ - doc/examples/AllPairs/sign/multiply.html
143
+ - doc/examples/AllPairs/sign/change-sign.html
144
+ - doc/examples/AllPairs/function/cosine.html
145
+ - doc/examples/AllPairs/function/sine.html
146
+ - doc/examples/AllPairs/magnitude/30.html
147
+ - doc/examples/AllPairs/magnitude/90-30.html
148
+ - doc/examples/AllPairs/magnitude/360+30.html
149
+ - doc/examples/AllPairs/magnitude/180+30.html
150
+ - doc/examples/CalculatorExample.html
151
+ - doc/examples/WebPageExample.html
152
+ - doc/examples/AllCombinations.html
153
+ - doc/examples/logo.gif
154
+ - doc/examples/AllFiles.html
155
+ - doc/examples/ExampleTests.html
156
+ - doc/examples/MusicExample.html
157
+ - Rakefile
158
+ - CHANGELOG
159
+ - README.rdoc
160
+ has_rdoc: true
161
+ homepage: http://fit.rubyforge.org/
162
+ licenses: []
163
+
164
+ post_install_message:
165
+ rdoc_options: []
166
+
167
+ require_paths:
168
+ - lib
169
+ required_ruby_version: !ruby/object:Gem::Requirement
20
170
  requirements:
21
- -
22
- - ">"
23
- - !ruby/object:Gem::Version
24
- version: 0.0.0
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: "0"
25
174
  version:
26
- platform: ruby
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: "0"
180
+ version:
181
+ requirements: []
182
+
183
+ rubyforge_project: fit
184
+ rubygems_version: 1.3.5
27
185
  signing_key:
28
- cert_chain:
29
- authors:
30
- - Giulio Piancastelli
31
- files:
32
- - bin/fit
33
- - bin/fit.cgi
34
- - bin/FitServer.rb
35
- - lib/eg
36
- - lib/fat
37
- - lib/fit
38
- - lib/fittask.rb
39
- - lib/eg/net
40
- - lib/eg/music
41
- - lib/eg/example_tests.rb
42
- - lib/eg/binary_chop.rb
43
- - lib/eg/sqrt.rb
44
- - lib/eg/all_combinations.rb
45
- - lib/eg/arithmetic_fixture.rb
46
- - lib/eg/all_pairs.rb
47
- - lib/eg/nested
48
- - lib/eg/all_files.rb
49
- - lib/eg/calculator.rb
50
- - lib/eg/page.rb
51
- - lib/eg/column_index.rb
52
- - lib/eg/echo_args_fixture.rb
53
- - lib/eg/arithmetic_column_fixture.rb
54
- - lib/eg/division.rb
55
- - lib/eg/net/simulator.rb
56
- - lib/eg/music/browser.rb
57
- - lib/eg/music/music_player.rb
58
- - lib/eg/music/music.rb
59
- - lib/eg/music/simulator.rb
60
- - lib/eg/music/display.rb
61
- - lib/eg/music/music_library.rb
62
- - lib/eg/music/realtime.rb
63
- - lib/eg/music/Music.txt
64
- - lib/eg/nested/bob.rb
65
- - lib/eg/nested/bob_the_builder_fixture.rb
66
- - lib/fat/html_to_text_fixture.rb
67
- - lib/fat/reference_fixture.rb
68
- - lib/fat/string_writer.rb
69
- - lib/fat/divide.rb
70
- - lib/fat/money.rb
71
- - lib/fat/color.rb
72
- - lib/fat/fixture_name_fixture.rb
73
- - lib/fat/table.rb
74
- - lib/fat/standard_annotation_fixture.rb
75
- - lib/fat/output_fixture.rb
76
- - lib/fat/table_parse_fixture.rb
77
- - lib/fat/equals.rb
78
- - lib/fat/document_parse_fixture.rb
79
- - lib/fat/annotation_fixture.rb
80
- - lib/fat/parse_fixture.rb
81
- - lib/fat/text_to_html_fixture.rb
82
- - lib/fit/fixture.rb
83
- - lib/fit/timed_action_fixture.rb
84
- - lib/fit/row_fixture.rb
85
- - lib/fit/file_runner.rb
86
- - lib/fit/fit_server.rb
87
- - lib/fit/primitive_fixture.rb
88
- - lib/fit/summary.rb
89
- - lib/fit/type_adapter.rb
90
- - lib/fit/scientific_double.rb
91
- - lib/fit/parse.rb
92
- - lib/fit/import_fixture.rb
93
- - lib/fit/fit_protocol.rb
94
- - lib/fit/wiki_runner.rb
95
- - lib/fit/fixture_loader.rb
96
- - lib/fit/column_fixture.rb
97
- - lib/fit/action_fixture.rb
98
- - test/fit_server_test.rb
99
- - test/file_runner_test.rb
100
- - test/fixtures
101
- - test/all_tests.rb
102
- - test/parse_test.rb
103
- - test/scientific_double_test.rb
104
- - test/framework_test.rb
105
- - test/fixture_test.rb
106
- - test/row_fixture_test.rb
107
- - test/fixture_loader_test.rb
108
- - test/type_adapter_test.rb
109
- - test/fixtures/pass_fixture.rb
110
- - test/fixtures/fail_fixture.rb
111
- - doc/spec
112
- - doc/fitnesse
113
- - doc/examples
114
- - doc/spec/parse.html
115
- - doc/spec/annotation.html
116
- - doc/spec/index.html
117
- - doc/spec/fixtures.html
118
- - doc/spec/extensions.html
119
- - doc/fitnesse/FitNesse.RubY.AcceptanceTests.ImportFixture.html
120
- - doc/fitnesse/FitNesse.RubY.AcceptanceTests.WaysToSpecifyaFixtureNamespace.html
121
- - doc/fitnesse/FitNesse.RubY.AcceptanceTests.GracefulFixtureNames.html
122
- - doc/fitnesse/FitNesse.RubY.AcceptanceTests.GracefulMemberNames.html
123
- - doc/fitnesse/FitNesse.RubY.AcceptanceTests.FixtureParameters.html
124
- - doc/examples/AllPairs.html
125
- - doc/examples/arithmetic.html
126
- - doc/examples/NetworkExample.html
127
- - doc/examples/files
128
- - doc/examples/ColumnIndex.html
129
- - doc/examples/FitAcceptanceTests.html
130
- - doc/examples/GeoCoordinate.html
131
- - doc/examples/BinaryChop.html
132
- - doc/examples/MusicExampleWithErrors.html
133
- - doc/examples/AllPairs
134
- - doc/examples/CalculatorExample.html
135
- - doc/examples/WebPageExample.html
136
- - doc/examples/AllCombinations.html
137
- - doc/examples/logo.gif
138
- - doc/examples/AllFiles.html
139
- - doc/examples/ExampleTests.html
140
- - doc/examples/MusicExample.html
141
- - doc/examples/files/hp35bk.jpg
142
- - doc/examples/AllPairs/sign
143
- - doc/examples/AllPairs/function
144
- - doc/examples/AllPairs/magnitude
145
- - doc/examples/AllPairs/sign/no-change.html
146
- - doc/examples/AllPairs/sign/multiply.html
147
- - doc/examples/AllPairs/sign/change-sign.html
148
- - doc/examples/AllPairs/function/cosine.html
149
- - doc/examples/AllPairs/function/sine.html
150
- - doc/examples/AllPairs/magnitude/30.html
151
- - doc/examples/AllPairs/magnitude/90-30.html
152
- - doc/examples/AllPairs/magnitude/360+30.html
153
- - doc/examples/AllPairs/magnitude/180+30.html
154
- - Rakefile
155
- - README.txt
186
+ specification_version: 3
187
+ summary: A Ruby port of FIT (Framework for Integrated Testing)
156
188
  test_files:
157
- - test/all_tests.rb
158
- rdoc_options: []
159
- extra_rdoc_files:
160
- - README.txt
161
- executables:
162
- - fit
163
- extensions: []
164
- requirements: []
165
- dependencies: []
189
+ - test/all_tests.rb