lib/petitest/subscribers/json_report_subscriber.rb in petitest-0.1.3 vs lib/petitest/subscribers/json_report_subscriber.rb in petitest-0.2.0
- old
+ new
@@ -13,17 +13,14 @@
def after_running_test_cases(test_cases)
super
data = {
test_cases: test_cases.map do |test_case|
{
- aborted: test_case.aborted?,
backtrace: test_case.backtrace,
class_name: test_case.test_group_class.to_s,
error_class_name: test_case.error_class_name,
error_message: test_case.error_message,
failed: test_case.failed?,
- failure_additional_message: test_case.failure_additional_message,
- failure_assertion_type_message: test_case.failure_assertion_type_message,
finished_at: test_case.finished_at.iso8601(6),
method_line_number: test_case.test_method.line_number,
method_name: test_case.test_method.method_name,
path: test_case.test_method.path,
skipped: test_case.skipped?,