rubyunit 0.3.16 → 0.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/RubyUnit/Assertions/Basic.rb +111 -108
  4. data/lib/RubyUnit/Assertions/Classes.rb +216 -0
  5. data/lib/RubyUnit/Assertions/Collections.rb +105 -0
  6. data/lib/RubyUnit/Assertions/Comparisons.rb +205 -0
  7. data/lib/RubyUnit/Assertions/Exceptions.rb +122 -0
  8. data/lib/RubyUnit/Assertions/Methods.rb +162 -0
  9. data/lib/RubyUnit/Assertions/Root.rb +93 -0
  10. data/lib/RubyUnit/Assertions.rb +22 -97
  11. data/lib/RubyUnit.rb +16 -9
  12. data/tests/AssertionFailure/TC_Class.rb +8 -3
  13. data/tests/AssertionFailure/TC_Instance.rb +13 -26
  14. data/tests/AssertionFailure/data/Class.rb +13 -0
  15. data/tests/AssertionFailure/data/Instance.rb +9 -10
  16. data/tests/Assertions/{TC_Class.rb → TC_Classes.rb} +3 -4
  17. data/tests/Assertions/TC_Collections.rb +13 -0
  18. data/tests/Assertions/TC_Comparisons.rb +13 -0
  19. data/tests/Assertions/TC_Exceptions.rb +13 -0
  20. data/tests/Assertions/TC_Methods.rb +13 -0
  21. data/tests/Assertions/data/Basic.rb +2 -2
  22. data/tests/Assertions/data/{Class.rb → Classes.rb} +1 -1
  23. data/tests/Assertions/data/Collections.rb +13 -0
  24. data/tests/Assertions/data/Comparisons.rb +7 -0
  25. data/tests/Assertions/data/Exceptions.rb +7 -0
  26. data/tests/Assertions/data/Methods.rb +7 -0
  27. data/tests/RubyUnit/TC_GemInfo.rb +4 -3
  28. data/tests/RubyUnit/TC_RubyUnit.rb +8 -7
  29. data/tests/RubyUnit/data/GemInfo.rb +1 -1
  30. data/tests/RubyUnit/data/RubyUnit.rb +9 -2
  31. data/tests/TS_Assertions.rb +2 -4
  32. metadata +20 -12
  33. data/lib/RubyUnit/Assertions/Class.rb +0 -198
  34. data/lib/RubyUnit/Assertions/Collection.rb +0 -80
  35. data/lib/RubyUnit/Assertions/Comparison.rb +0 -200
  36. data/lib/RubyUnit/Assertions/Exception.rb +0 -105
  37. data/lib/RubyUnit/Assertions/Method.rb +0 -157
  38. data/tests/Assertions/TC_Comparison.rb +0 -13
  39. data/tests/Assertions/data/Comparison.rb +0 -7
@@ -1,113 +1,38 @@
1
+ require_relative 'Assertions/Basic' # Basic assertions
2
+ require_relative 'Assertions/Classes' # Class assertions
3
+ require_relative 'Assertions/Collections' # Collection assertions
4
+ require_relative 'Assertions/Comparisons' # Comparison assertions
5
+ require_relative 'Assertions/Exceptions' # Exception assertions
6
+ require_relative 'Assertions/Methods' # Method assertions
7
+
1
8
  module RubyUnit
2
- #
9
+ ##
3
10
  # Assertions that can be used by RubyUnit::TestCase
4
11
  #
5
12
  module Assertions
6
- include AssertionMessage
7
-
13
+ ##
8
14
  # Tracks the total number of assertions made during the tests
9
15
  @@assertions = 0
10
16
 
11
- private
12
- #
13
- # Builds the message that will be used with the assertion
14
- # * raises RubyUnit::AssertionFailure
15
- # * raises ArgumentError unless error is a String
16
- # * raises ArgumentError unless message is nil or a String
17
- # * raises ArgumentError unless data is a Hash
18
- #
19
- # error::
20
- # The assertion description
21
- #
22
- # message::
23
- # The message provided by the test for the assertion
24
- #
25
- # data::
26
- # The data associated with assertion failure
27
- #
28
- # build_message 'Failing Test', message, {'expected' => expected, 'actual' => actual }
17
+ ##
18
+ # Get the current number of test assertions
29
19
  #
30
- def build_message error, message, data = {} # :nodoc:
31
- raise ArgumentError, 'Error description must be a String' unless error.is_a? String
32
- raise ArgumentError, 'Failure message must be String' unless message.nil? or message.is_a? String
33
- raise ArgumentError, 'Failure data must be a Hash' unless data.is_a? Hash
34
- raise AssertionFailure.new({'Assertion Failure'=>message}.merge data), error
20
+ def self.assertions
21
+ @@assertions
35
22
  end
36
23
 
24
+ ##
25
+ # Increment the number of test assertions
37
26
  #
38
- # The assertion wrapper is responsible for doing everything that must be done
39
- # on each assertion.
40
- # * keep track of the total number of assertions
41
- #
42
- # &block::
43
- # The assertion which is being wrapped
44
- #
45
- def __wrap_assertion &block # :nodoc:
27
+ def self.add_assertion
46
28
  @@assertions += 1
47
- yield
48
- end
49
-
50
- #
51
- # Internally validate that an assertion not false or nil
52
- # * raises RubyUnit::AssertionFailure unless _value_ is true
53
- #
54
- # value::
55
- # The value to be asserted
56
- #
57
- # error::
58
- # The error associated with the assertion being checked
59
- #
60
- # message::
61
- # The message provided to be reported for a failure
62
- #
63
- # data::
64
- # The data associated with assertion
65
- #
66
- # __assert value, 'Failed to assert value is true', message, {:value=>value}
67
- #
68
- def __assert value, error, message, data # :nodoc:
69
- __wrap_assertion do
70
- build_message error, message, data unless value
71
- end
72
- end
73
-
74
- #
75
- # Internally validate that an assertion is false or nil
76
- # * raises RubyUnit::AssertionFailure unless _value_ is false or nil
77
- #
78
- # value::
79
- # The value to be asserted
80
- #
81
- # error::
82
- # The error associated with the assertion being checked
83
- #
84
- # message::
85
- # The message provided to be reported for a failure
86
- #
87
- # data::
88
- # The data associated with assertion
89
- #
90
- # __reject value, 'Failed to assert value is not true', message, {:value=>value}
91
- #
92
- def __reject value, error, message, data # :nodoc:
93
- __assert (not value), error, message, data
94
29
  end
95
30
 
96
- #
97
- # Validate the parameters for exception assertions
98
- # * raises ArgumentError if _pattern_ is not a String or Regexp
99
- # * raises ArgumentError unless _e_ is a descendent of the Exception class
100
- #
101
- def __validate_exception pattern, e = Exception # :nodoc:
102
- raise ArgumentError, 'Exception message must be a Regexp or String' unless pattern.is_a? Regexp or pattern.is_a? String
103
- raise ArgumentError, 'Exception must be a subclass of Exception' unless e < Exception
104
- end
31
+ include Assertions::Basic
32
+ include Assertions::Classes
33
+ include Assertions::Collections
34
+ include Assertions::Comparisons
35
+ include Assertions::Exceptions
36
+ include Assertions::Methods
105
37
  end
106
38
  end
107
-
108
- require_relative 'Assertions/Basic' # Basic assertions
109
- require_relative 'Assertions/Class' # Class assertions
110
- require_relative 'Assertions/Collection' # Collection assertions
111
- require_relative 'Assertions/Comparison' # Comparison assertions
112
- require_relative 'Assertions/Exception' # Exception assertions
113
- require_relative 'Assertions/Method' # Method assertions
data/lib/RubyUnit.rb CHANGED
@@ -1,17 +1,21 @@
1
- #
1
+ ##
2
2
  # A Simple Unit Test Framework for Ruby
3
3
  #
4
4
  # The RubyModule is the root object for all RubyUnit modules and classes.
5
5
  #
6
6
  module RubyUnit
7
+ ##
7
8
  # Debug mode
8
9
  @@debug = false
10
+ ##
11
+ # Error message
9
12
  INVALID_DEBUG_MODE = 'Debug mode must be Boolean'
10
13
 
14
+ ##
11
15
  # Current RubyUnit version
12
- VERSION = '0.3.16'
16
+ VERSION = '0.3.17'
13
17
 
14
- #
18
+ ##
15
19
  # Set debug mode
16
20
  # * raises ArgumentError if _bool_ is not a Boolean
17
21
  #
@@ -23,14 +27,14 @@ module RubyUnit
23
27
  @@debug = bool
24
28
  end
25
29
 
26
- #
30
+ ##
27
31
  # Get the current debug mode
28
32
  #
29
33
  def self.debug
30
34
  @@debug
31
35
  end
32
36
 
33
- #
37
+ ##
34
38
  # RubyUnit::GemInfo contains data and functionality needed by the gem builder
35
39
  # when building and distributing the RubyUnit gem.
36
40
  #
@@ -41,19 +45,21 @@ module RubyUnit
41
45
  ['TestSuite.rb'] + # Test Suite
42
46
  Dir['tests/**/*.rb'] # TESTS
43
47
 
44
- DESCRIPTION = 'Unit testing and test-driven development are crucial parts of ' +
45
- 'the software development life cycle. This tool is intended to ' +
48
+ DESCRIPTION = 'Unit testing and test-driven development are crucial parts of ' +
49
+ 'the software development life cycle. This tool is intended to ' +
46
50
  'make development and testing in Ruby easier on everyone. RubyUnit ' +
47
- 'is also designed to with a focus on data-driven testing.'
51
+ 'is also designed to with a focus on data-driven testing and meta-.' +
52
+ 'programming.'
48
53
  end
49
54
  end
50
55
 
51
56
  require_relative 'RubyUnit/TestCase'
52
57
  require_relative 'RubyUnit/Runner'
53
58
 
59
+ ##
54
60
  # Automatically Run Test Cases if they haven't been run already
55
61
  Module.new do
56
- #
62
+ ##
57
63
  # Automatically run defined Test Cases
58
64
  #
59
65
  #--
@@ -63,6 +69,7 @@ Module.new do
63
69
  #++
64
70
  #
65
71
  at_exit do
72
+ ##
66
73
  # Don't run if it there is an exception or it has already been run
67
74
  if $ERROR_INFO.nil? and RubyUnit::Runner.autorun?
68
75
  RubyUnit::Runner.run
@@ -1,16 +1,21 @@
1
1
  require 'RubyUnit/AssertionFailure'
2
2
 
3
+ ##
4
+ # Data provider for RubyUnit::AssertionFailure tests
5
+ require_relative 'data/Class'
6
+
3
7
  module AssertionFailureTests
4
8
  ##
5
9
  # Test Case for RubyUnit::AssertionFailure
6
10
  #
7
11
  class TC_Class < RubyUnit::TestCase
12
+ include ClassData
8
13
 
9
14
  ##
10
- # Validate that RubyUnit::AssertionFailure is an Exception
15
+ # Validate that RubyUnit::AssertionFailure has the correct super classes
11
16
  #
12
- def isExceptionTest
13
- assertDescendent Exception, RubyUnit::AssertionFailure, 'AssertionFailure MUST be an Exception'
17
+ def isDescendentTest e
18
+ assertDescendent e, RubyUnit::AssertionFailure, 'AssertionFailure MUST be an Exception'
14
19
  end
15
20
  end
16
21
  end
@@ -1,42 +1,29 @@
1
1
  require 'RubyUnit/AssertionFailure'
2
2
 
3
+ ##
3
4
  # Data provider for RubyUnit::AssertionFailure tests
4
5
  require_relative 'data/Instance'
5
6
 
6
7
  module AssertionFailureTests
7
- #
8
+ ##
8
9
  # Test Case for RubyUnit::AssertionFailure
9
10
  #
10
11
  class TC_Instance < RubyUnit::TestCase
11
12
  include InstanceData
12
13
 
13
- #
14
- # Test creation of default AssertionFailure
15
- #
16
- def createDefaultTest
17
- assertNothingRaised 'Should be able to create default AssertionFailure' do
18
- failure = RubyUnit::AssertionFailure.new
19
- hash = {}
20
- assertEqual hash, failure.data, 'Default data Hash should be empty'
21
- end
22
- end
23
-
24
- #
25
- # Test the data for the AssertionFailure
26
- #
27
- def dataTest data
28
- failure = RubyUnit::AssertionFailure.new(data)
29
- assertEqual data, failure.data, 'Assertion data Hash is incorrect'
30
- end
31
-
32
- #
14
+ ##
33
15
  # Test the info string for the AssertionFailure
34
16
  #
35
- def infoTest data
36
- failure = RubyUnit::AssertionFailure.new(data)
37
- data.each do |index, value|
38
- assertMatch /#{index}/, failure.info, "Missing index for #{index}"
39
- assertMatch /#{value}/, failure.info, "Missing value for #{index}"
17
+ def assertionFailureTest data, message
18
+ begin
19
+ raise RubyUnit::AssertionFailure.new(data), message
20
+ rescue RubyUnit::AssertionFailure => failure
21
+ assertEqual data, failure.data, 'Assertion data Hash is incorrect'
22
+ assertEqual message, failure.message, 'Excpected message mismatch'
23
+ data.each do |index, value|
24
+ assertMatch /#{index}/, failure.info, "Missing index for #{index}"
25
+ assertMatch /#{value}/, failure.info, "Missing value for #{index}"
26
+ end
40
27
  end
41
28
  end
42
29
  end
@@ -0,0 +1,13 @@
1
+ module AssertionFailureTests
2
+ ##
3
+ # Data provider for RubyUnit::AssertionFailure Class Test Case
4
+ #
5
+ module ClassData
6
+ def isDescendentData
7
+ [
8
+ [ Exception],
9
+ [StandardError],
10
+ ]
11
+ end
12
+ end
13
+ end
@@ -3,17 +3,16 @@ module AssertionFailureTests
3
3
  # Data provider for RubyUnit::AssertionFailure class Test Case
4
4
  #
5
5
  module InstanceData
6
- def dataData
7
- infoData +
6
+ def assertionFailureData
8
7
  [
9
- [{}],
10
- ]
11
- end
12
-
13
- def infoData
14
- [
15
- [{ :integer=>42, :string=>'string'}],
16
- [{'String Index'=>nil, :string=>'string'}],
8
+ {},
9
+ {:regex=>/Regexp/},
10
+ {:string=>'string',:int=>42},
11
+ {:class=>Class,:int=>42,:string=>'string'},
12
+ ].product [
13
+ '',
14
+ 'AssertionsTests Assertion Message',
15
+ "#{'iterpolated'} Assertion Message",
17
16
  ]
18
17
  end
19
18
  end
@@ -1,14 +1,14 @@
1
1
  require 'RubyUnit/Assertions'
2
2
 
3
3
  # Data provider for RubyUnit::TestCase tests
4
- require_relative 'data/Class'
4
+ require_relative 'data/Classes'
5
5
 
6
6
  module AssertionsTests
7
7
  ##
8
8
  # Test Case for RubyUnit::Assertions Class assertions
9
9
  #
10
- class TC_Class < AssertionsTestCase
11
- include ClassData
10
+ class TC_Classes < AssertionsTestCase
11
+ include ClassesData
12
12
 
13
13
  ##
14
14
  # Test assertKindOf
@@ -389,6 +389,5 @@ module AssertionsTests
389
389
  assertNotDescendent klass, descendent, message
390
390
  end
391
391
  end
392
-
393
392
  end
394
393
  end
@@ -0,0 +1,13 @@
1
+ require 'RubyUnit/Assertions'
2
+
3
+ # Data provider for RubyUnit::TestCase tests
4
+ require_relative 'data/Collections'
5
+
6
+ module AssertionsTests
7
+ #
8
+ # Test Case for RubyUnit::Assertions Collections assertions
9
+ #
10
+ class TC_Collections < AssertionsTestCase
11
+ include CollectionsData
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ require 'RubyUnit/Assertions'
2
+
3
+ # Data provider for RubyUnit::TestCase tests
4
+ require_relative 'data/Comparisons'
5
+
6
+ module AssertionsTests
7
+ #
8
+ # Test Case for RubyUnit::Assertions Comparisons assertions
9
+ #
10
+ class TC_Comparisons < AssertionsTestCase
11
+ include ComparisonsData
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ require 'RubyUnit/Assertions'
2
+
3
+ # Data provider for RubyUnit::TestCase tests
4
+ require_relative 'data/Exceptions'
5
+
6
+ module AssertionsTests
7
+ #
8
+ # Test Case for RubyUnit::Assertions Exceptions assertions
9
+ #
10
+ class TC_Exceptions < AssertionsTestCase
11
+ include ExceptionsData
12
+ end
13
+ end
@@ -0,0 +1,13 @@
1
+ require 'RubyUnit/Assertions'
2
+
3
+ # Data provider for RubyUnit::TestCase tests
4
+ require_relative 'data/Methods'
5
+
6
+ module AssertionsTests
7
+ #
8
+ # Test Case for RubyUnit::Assertions Methods assertions
9
+ #
10
+ class TC_Methods < AssertionsTestCase
11
+ include MethodsData
12
+ end
13
+ end
@@ -8,11 +8,11 @@ module AssertionsTests
8
8
  include ObjectTypes
9
9
 
10
10
  def failWithMessageData
11
- AssertionsTests::MESSAGES
11
+ AssertionsTests::MESSAGE
12
12
  end
13
13
 
14
14
  def failWithDataData
15
- add_parameter AssertionsTests::MESSAGES, hashObjects
15
+ add_parameter AssertionsTests::MESSAGE, hashObjects
16
16
  end
17
17
 
18
18
  def assertData
@@ -4,7 +4,7 @@ module AssertionsTests
4
4
  ##
5
5
  # Data provider for RubyUnit::Assertions Class assertions
6
6
  #
7
- module ClassData
7
+ module ClassesData
8
8
  include ObjectTypes
9
9
 
10
10
  def assertKindOfData
@@ -0,0 +1,13 @@
1
+ require_relative 'ObjectTypes'
2
+
3
+ module AssertionsTests
4
+ #
5
+ # Data provider for RubyUnit::Assertions Collections assertions
6
+ #
7
+ module CollectionsData
8
+ include ObjectTypes
9
+
10
+ def includeData
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,7 @@
1
+ module AssertionsTests
2
+ #
3
+ # Data provider for RubyUnit::Assertions Comparisons assertions
4
+ #
5
+ module ComparisonsData
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ module AssertionsTests
2
+ #
3
+ # Data provider for RubyUnit::Assertions Exceptions assertions
4
+ #
5
+ module ExceptionsData
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ module AssertionsTests
2
+ #
3
+ # Data provider for RubyUnit::Assertions Methods assertions
4
+ #
5
+ module MethodsData
6
+ end
7
+ end
@@ -1,23 +1,24 @@
1
1
  require 'RubyUnit'
2
2
 
3
+ ##
3
4
  # Data provider for RubyUnit::GemInfo tests
4
5
  require_relative 'data/GemInfo'
5
6
 
6
7
  module RubyUnitTests
7
- #
8
+ ##
8
9
  # Test Case for the RubyUnit::GemInfo module
9
10
  #
10
11
  class TC_GemInfo < RubyUnit::TestCase
11
12
  include GemInfoTestsData
12
13
 
13
- #
14
+ ##
14
15
  # Verify that the required constants are defined
15
16
  #
16
17
  def constantsDefinedTest konstant
17
18
  assertConstDefined RubyUnit::GemInfo, konstant, "missing constant in GemInfo: #{konstant}"
18
19
  end
19
20
 
20
- #
21
+ ##
21
22
  # Verify that the list of files contains the LICENSE file
22
23
  #
23
24
  def validateFilesIncludesLicenseTest
@@ -1,23 +1,24 @@
1
1
  require 'RubyUnit'
2
2
 
3
- # Data provider for RubyUnit::GemInfo tests
3
+ ##
4
+ # Data provider for RubyUnit module
4
5
  require_relative 'data/RubyUnit'
5
6
 
6
7
  module RubyUnitTests
7
- #
8
+ ##
8
9
  # Test Case for the RubyUnit module
9
10
  #
10
11
  class TC_RubyUnit < RubyUnit::TestCase
11
12
  include RubyUnitTestsData
12
13
 
13
- #
14
+ ##
14
15
  # Verify that the VERSION constant is defined in the RubyUnit module
15
16
  #
16
- def versionDefinedTest
17
- assertConstDefined RubyUnit, 'VERSION', 'Version must be defined in RubyUnit::VERSION'
17
+ def constantTest konstant
18
+ assertConstDefined RubyUnit, konstant, 'Expected constant missing'
18
19
  end
19
20
 
20
- #
21
+ ##
21
22
  # Test debug mode
22
23
  #
23
24
  def debugModeTest
@@ -29,7 +30,7 @@ module RubyUnitTests
29
30
  RubyUnit.debug = old_mode
30
31
  end
31
32
 
32
- #
33
+ ##
33
34
  # Test that debug mode doesn't accept non-Boolean
34
35
  #
35
36
  def invalidDebugModeTest mode
@@ -1,5 +1,5 @@
1
1
  module RubyUnitTests
2
- #
2
+ ##
3
3
  # Data provider for RubyUnit::GemInfo module Test Case
4
4
  #
5
5
  module GemInfoTestsData
@@ -1,8 +1,15 @@
1
1
  module RubyUnitTests
2
- #
3
- # Data provider for RubyUnit::GemInfo module Test Case
2
+ ##
3
+ # Data provider for RubyUnit module
4
4
  #
5
5
  module RubyUnitTestsData
6
+ def constantData
7
+ [
8
+ [ 'VERSION'],
9
+ ['INVALID_DEBUG_MODE'],
10
+ ]
11
+ end
12
+
6
13
  def invalidDebugModeData
7
14
  [
8
15
  [ 42],
@@ -6,10 +6,8 @@ module AssertionsTests
6
6
  ##
7
7
  # Messages to be used in the tests
8
8
  #
9
- MESSAGES = [
10
- [ ''],
9
+ MESSAGE = [
11
10
  [ 'AssertionsTests Assertion Message'],
12
- ["#{'iterpolated'} Assertion Message"],
13
11
  ]
14
12
 
15
13
  class AssertionsTestCase < RubyUnit::TestCase
@@ -50,7 +48,7 @@ module AssertionsTests
50
48
 
51
49
  ##
52
50
  # Add parameter on the end of each param list
53
- def add_parameter array, params = MESSAGES
51
+ def add_parameter array, params = MESSAGE
54
52
  a = []
55
53
  params.each do |param|
56
54
  a = a + array.collect {|element| element.clone + param}
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyunit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Clower
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-19 00:00:00.000000000 Z
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Unit testing and test-driven development are crucial parts of the software
14
14
  development life cycle. This tool is intended to make development and testing in
15
15
  Ruby easier on everyone. RubyUnit is also designed to with a focus on data-driven
16
- testing.
16
+ testing and meta-.programming.
17
17
  email:
18
18
  - matthewclower@gmail.com
19
19
  executables: []
@@ -33,26 +33,34 @@ files:
33
33
  - lib/RubyUnit/AssertionMessage.rb
34
34
  - lib/RubyUnit/Assertions.rb
35
35
  - lib/RubyUnit/Assertions/Basic.rb
36
- - lib/RubyUnit/Assertions/Class.rb
37
- - lib/RubyUnit/Assertions/Collection.rb
38
- - lib/RubyUnit/Assertions/Comparison.rb
39
- - lib/RubyUnit/Assertions/Exception.rb
40
- - lib/RubyUnit/Assertions/Method.rb
36
+ - lib/RubyUnit/Assertions/Classes.rb
37
+ - lib/RubyUnit/Assertions/Collections.rb
38
+ - lib/RubyUnit/Assertions/Comparisons.rb
39
+ - lib/RubyUnit/Assertions/Exceptions.rb
40
+ - lib/RubyUnit/Assertions/Methods.rb
41
+ - lib/RubyUnit/Assertions/Root.rb
41
42
  - lib/RubyUnit/IncompleteTest.rb
42
43
  - lib/RubyUnit/Runner.rb
43
44
  - lib/RubyUnit/SkippedTest.rb
44
45
  - lib/RubyUnit/TestCase.rb
45
46
  - tests/AssertionFailure/TC_Class.rb
46
47
  - tests/AssertionFailure/TC_Instance.rb
48
+ - tests/AssertionFailure/data/Class.rb
47
49
  - tests/AssertionFailure/data/Instance.rb
48
50
  - tests/AssertionMessage/TC_Constant.rb
49
51
  - tests/AssertionMessage/data/Constant.rb
50
52
  - tests/Assertions/TC_Basic.rb
51
- - tests/Assertions/TC_Class.rb
52
- - tests/Assertions/TC_Comparison.rb
53
+ - tests/Assertions/TC_Classes.rb
54
+ - tests/Assertions/TC_Collections.rb
55
+ - tests/Assertions/TC_Comparisons.rb
56
+ - tests/Assertions/TC_Exceptions.rb
57
+ - tests/Assertions/TC_Methods.rb
53
58
  - tests/Assertions/data/Basic.rb
54
- - tests/Assertions/data/Class.rb
55
- - tests/Assertions/data/Comparison.rb
59
+ - tests/Assertions/data/Classes.rb
60
+ - tests/Assertions/data/Collections.rb
61
+ - tests/Assertions/data/Comparisons.rb
62
+ - tests/Assertions/data/Exceptions.rb
63
+ - tests/Assertions/data/Methods.rb
56
64
  - tests/Assertions/data/ObjectTypes.rb
57
65
  - tests/IncompleteTest/TC_IncompleteTest.rb
58
66
  - tests/RubyUnit/TC_GemInfo.rb