sgraf812 / dependabot-core

🤖The core logic behind Dependabot's update PR creation
https://dependabot.com
Other
1 stars 1 forks source link

Thank-you. This is really needed and <3 #8

Open ghuntley opened 4 years ago

sgraf812 commented 4 years ago

Thanks :) Nudging people (besides me) on doing this because I feel the same!

pjones commented 4 years ago

I know a few things about Ruby if you need any help.

Either way, a huge THANK YOU to everyone involved.

sgraf812 commented 4 years ago

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?

pjones commented 4 years ago

@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.

pjones commented 4 years ago

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.