Skip to content

pact-foundation/pact-xml

Repository files navigation

*** THIS IS NOT IMPLEMENTED ***

If you are interested in implementing it, please contact the pact-dev google group.

Pact::Xml

Provides XML support for the Pact gem.

Installation

Add this line to your application's Gemfile:

gem 'pact-xml'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pact-xml

Usage

require 'pact'
require 'pact/xml'

Pact.configure do | config |
    
    # Maybe do this automatically?
    config.register_body_differ /xml/, Pact::XML::Differ
    config.register_diff_formatter /xml/, Pact::XML::DiffFormatter

end

Contributing

  1. Fork it ( https://github.com/[my-github-username]/pact-xml/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

XML support for the Pact gem

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages