Git Product home page Git Product logo

Comments (7)

dataclouder avatar dataclouder commented on July 30, 2024

I think we should retain the ability of using a mock server (which should be the default,) in addition to testing with a real server. That would allow developers to work without need for a constant connection to the real vCD.

from go-vcloud-director.

hodgesrm avatar hodgesrm commented on July 30, 2024

If we keep it I would like to remove the Mozilla license dependency. It's triggering for some legal teams. Can we find something that's Apache 2.0 licensed?

from go-vcloud-director.

auppunda avatar auppunda commented on July 30, 2024

Your point is very valid, but I feel that developers should be testing on a real vcd anyways before merging code. Also the time difference between the real vcd and the mock server shouldn't be a huge issue as a user can specify which test he wants to run if he doesn't want to run all the tests. We can discuss this in our monday meeting. For now I will hold off on pushing code that removes the mock server. If we keep the test server I can update the xml for the org and vdc.

from go-vcloud-director.

hodgesrm avatar hodgesrm commented on July 30, 2024

I agree with Ankith that it does not seem all that helpful to use a mock server. Mocks will become increasingly hard to maintain as we add more API calls in future.

from go-vcloud-director.

dataclouder avatar dataclouder commented on July 30, 2024

I understand the challenge.
I was thinking of using a mock server like mockingjay-server (MIT license) that can be easily enhanced.

from go-vcloud-director.

lvirbalas avatar lvirbalas commented on July 30, 2024

We decided to remove any kind of mocking tests in favour of tests with real API calls.

from go-vcloud-director.

auppunda avatar auppunda commented on July 30, 2024

Solved with commit 6b69953 and #35

from go-vcloud-director.

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.