lib/petitest/test_case.rb in petitest-0.2.0 vs lib/petitest/test_case.rb in petitest-0.2.1

- old
+ new

@@ -32,9 +32,22 @@ if error error.backtrace end end + # @return [String] + def description + @description ||= "##{method_name}" + end + + # @return [String] + def full_description + [ + test_group_class.full_description, + description, + ].join(" ") + end + # @return [String, nil] def error_class_name if error error.class.to_s end