Giter Club home page Giter Club logo

Comments (6)

saschagrunert avatar saschagrunert commented on May 29, 2024

Hey @naveensrinivasan, we already had the discussion about ginkgo in the past and explicitly decided against it. I guess we have now more maintainers onboard, which may share different thoughts.

from security-profiles-operator.

jhrozek avatar jhrozek commented on May 29, 2024

from security-profiles-operator.

naveensrinivasan avatar naveensrinivasan commented on May 29, 2024

Hey @naveensrinivasan, we already had the discussion about ginkgo in the past and explicitly decided against it. I guess we have now more maintainers onboard, which may share different thoughts.

@saschagrunert What are the reasons for not choosing ginkgo? I looked into issues and couldn't find any information. This will help anyone understand the reasons for this explicit decision.

Thanks

from security-profiles-operator.

saschagrunert avatar saschagrunert commented on May 29, 2024

@saschagrunert What are the reasons for not choosing ginkgo? I looked into issues and couldn't find any information. This will help anyone understand the reasons for this explicit decision.

This was one of the first decisions we took while ramping up the project and that's why we're now using testify. Reducing the complexity of the tests was the major argument these days.

Generally I'm open to re-evaluate the decision and switch if the majority wants to use it.

from security-profiles-operator.

naveensrinivasan avatar naveensrinivasan commented on May 29, 2024

@saschagrunert What are the reasons for not choosing ginkgo? I looked into issues and couldn't find any information. This will help anyone understand the reasons for this explicit decision.

This was one of the first decisions we took while ramping up the project and that's why we're now using testify. Reducing the complexity of the tests was the major argument these days.

Generally I'm open to re-evaluate the decision and switch if the majority wants to use it.

@saschagrunert Can you be specifics about what complexity you see in using ginkgo vs testify?

Also on a similar note what are your thoughts on using https://godoc.org/sigs.k8s.io/controller-runtime/pkg/envtest?
IMO Fakeclient are mess kubernetes-sigs/controller-runtime#348 (comment)

The recommended way to test is using envtest without jumping through hoops and not setting up kind cluster for every test. Also with e2e, it is impossible to measure codecoverage.

from security-profiles-operator.

naveensrinivasan avatar naveensrinivasan commented on May 29, 2024

My ignorance of not understanding the testify. I can see how testify is comparable with ginkgo but in a more non-bdd driven. Thanks

from security-profiles-operator.

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.