Git Product home page Git Product logo

Comments (7)

arschles avatar arschles commented on August 24, 2024

👍. Such a library could be modeled after the Go on in Helm: https://github.com/helm/helm/tree/master/kubectl.

from controller.

helgi avatar helgi commented on August 24, 2024

Closed by #497

from controller.

helgi avatar helgi commented on August 24, 2024

Reopening this since I think we may need to inspect a bit more closely what we add to k8s. Right now we use a very basic mock but in many cases it would at least give us a decent idea of what we are applying based on various configs and otherwise.

Thoughts on how we should go about this?

from controller.

Joshua-Anderson avatar Joshua-Anderson commented on August 24, 2024

@helgi In the past few sprints I know you've worked on these mocks, are they sufficient enough to close this issue now?

from controller.

helgi avatar helgi commented on August 24, 2024

I haven't been happy enough with those - They prove certain interactions but not enough introspection on the built payload, et all. When we do more of that then I'd consider this done

from controller.

helgi avatar helgi commented on August 24, 2024

I updated the core description with some additional information.

One thing to note is functions like manifest in each resource we do not test directly but rather rely on create and update to call it with the right things. As such there is no introspection at that level on what is being sent... That could be a good addition overall, to compare to that directly since that's what is sent to Kubernetes... Thoughts?

from controller.

helgi avatar helgi commented on August 24, 2024

Going to close this - We have very good coverage, mostly 70% and higher. In many cases 85% will be hard to achieve due to the mocking not being smart enough to create more delays etc to exercise some of the wait code

from controller.

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.