-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSV differ #57
Comments
That's fantastic! Great work. I think you're on the right track. Without the tests I have no idea what the output will look like though, so I hope you can find the time. I agree, having a Cucumber dependency is a little awkward. Something I have discovered about gem dependencies is that copy-paste is not always an evil, and is often preferable to adding a whole gem dependency when all you want is a specific bit of functionality that is unlikely to ever change (with a credit at the top of course, to say where it has been copied from). Do you think it would be possible to extract just the Table class? |
I'll have a look if the diffing can be extracted from the Table class, I hope it's not too coupled. First I have to create a use case for my company though to allow me to invest more time into pact. |
Yes, you can only set the Differ per mime-type, not per request. But this So, Pact follows Postel's law for matching. Requests should have only what The difference between the request and the response diffing is that the It seems to me that there should be two types of CSV Differs - one that What do you think? On Wed, Nov 5, 2014 at 9:06 PM, Martin Mauch notifications@github.com
|
Hi Beth, sorry for the long delay after your detailed answer. Best |
Okey dokey. If I find someone else who needs it, are you happy to publish the gem, or share gem publishing permissions? |
I've published my initial version here: |
Just in case! I'd prefer not to write my actual rubygems email address on a github issue, can I send it to info at crealytics.com? |
You can send it to mauch at crealytics de. Also it seems rubygems.org is already publishing my private email address :p |
Hi Beth,
I've created a CSV differ for pact.
It doesn't have tests yet and uses cucumber tables for diffing (which seems a little awkward), but it works in manual tests on an adapted example.
Maybe you can have a look if this goes in the right direction.
I don't know how much time I can spend on this, but hopefully get to write some basic tests at least.
Best
Martin
The text was updated successfully, but these errors were encountered: