Coder Social home page Coder Social logo

Comments (2)

timchaston avatar timchaston commented on June 6, 2024 1

Thanks for the reply!

As a general note, don't delete cassettes except one at a time

Haha, yeah, I was a bit heavy-handed in regenerating them all on my PR branch (in my defence, it has been a useful strategy in the past). Letting VCR do it's thing regenerated only 9 cassettes and everything is passing now after making a code fix (which was a lot easier to figure out without all the other stuff).

from active_campaign.

mhenrixon avatar mhenrixon commented on June 6, 2024

If you remove the cassettes, you will have to focus one test at a time and run them until they pass. You also would have go in and delete things manually on your account. Most likely some contact, group or otherwise that is saved and not deleted.

I bet your account isn't as empty as you think it is :)

Anyway. this is what I tried to tell you before about how difficult it is to setup this test suite. Possibly it would be better to use mocking (at least for reliability of the test suite). I'd say Faraday stubs would be more reliable but... then we lose the possiblity of doing real tests which means they would also be less valuable.

As a general note, don't delete cassettes except one at a time

from active_campaign.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.