Open ghuntley opened 4 years ago
I know a few things about Ruby if you need any help.
Either way, a huge THANK YOU to everyone involved.
I know a few things about Ruby if you need any help.
In fact I could use your help: I basically did cp -r /cargo /cabal
to get things going and am now wondering how to record my own test fixtures like in https://github.com/sgraf812/dependabot-core/tree/0c07ec86b9be380330f381fd00fe6c2adeb0b726/cabal/spec/fixtures/github. I.e. the content
field of those JSON files are what needs exchanging. Are you familiar with any test case fixture generator that produces these files?
@sgraf812 I'm going to have to fork the repo and dig around a bit. It looks like those files may be related to the VCR testing Gem. I'll let you know when I figure it out.
I need to set up a development environment for this project to confirm this but it looks like you disable the HTTP mocking and run the tests. All of the HTTP calls will actually happen and the results will be recorded. For example:
VCR=all bundle exec rspec path/to/specs
I worked on another project using VCR and it was a nightmare. I hope things go better this time.
Thanks :) Nudging people (besides me) on doing this because I feel the same!