Class: PactJUnitFormatter
- Inherits:
-
RSpec::Core::Formatters::BaseFormatter
- Object
- RSpec::Core::Formatters::BaseFormatter
- PactJUnitFormatter
show all
- Defined in:
- lib/pact_junit_formatter.rb
Defined Under Namespace
Classes: ExampleDumper, PactExample
Instance Method Summary
collapse
Instance Method Details
#dump_summary(notification) ⇒ Object
16
17
18
19
|
# File 'lib/pact_junit_formatter.rb', line 16
def dump_summary(notification)
@notification = notification
xml_dump(@examples)
end
|
#stop(notification) ⇒ Object
12
13
14
|
# File 'lib/pact_junit_formatter.rb', line 12
def stop(notification)
@examples = rearrange(notification.notifications.map {|n| PactExample.new(n) })
end
|