Introducing phpspec for test coverage.
This is a baby-step to introduce test coverage. phpSpec is an up-and-coming testing methodology with rapid growth of adoption over phpUnit.
If this approach is acceptable I would be happy to add more such tests, including realistic fixtures based on real UPS api responses.
Ok, cool. So if I switch this to the "real" xml from the UPS api, and wrap the fixture loading into a re-usable class, this direction is acceptable? Have a great weekend! :smiley:
Yeah, I'd say go for it.
@Richtermeister I'm considering some overhauling on this package to make it more testable and add a Laravel service provider and some other things. Do you have any more phpspec work that hasn't been pushed up for this?
Hey Ben, I currently don't.