Git Product home page Git Product logo

Comments (8)

czechboy0 avatar czechboy0 commented on August 16, 2024

Yes. I'm even tempted to make everything private and then make what needs to be internal and public, so that we have a minimal public interface. Can you use @testable on private methods as well? Or is it just for internal?

from xcodeserversdk.

cojoj avatar cojoj commented on August 16, 2024

Just for internals... 😭
I even started this twitter conversation once.

from xcodeserversdk.

czechboy0 avatar czechboy0 commented on August 16, 2024

Ok, so let's do this: keep indirectly tested methods as private and directly tested ones as internal or public. In a way treat internal and public as things you'd put in a header file. But, always default to internal and only make it public iff you have a usecase outside of the current module.

And we will try to test all internal and public methods. So this task is mainly about removing the public modifier to make it internal again. Does that make sense?

from xcodeserversdk.

cojoj avatar cojoj commented on August 16, 2024

Yes sir, I think that's the right way! Now, Beats1 and get back to work 😉

from xcodeserversdk.

czechboy0 avatar czechboy0 commented on August 16, 2024

Haha same here. Loving the London style that's on right now.

from xcodeserversdk.

cojoj avatar cojoj commented on August 16, 2024

Oh man... Wish I'm in London right now 🇬🇧 Love this city so much 😻

from xcodeserversdk.

czechboy0 avatar czechboy0 commented on August 16, 2024

It's fucking boiling here right now though. 😓

from xcodeserversdk.

cojoj avatar cojoj commented on August 16, 2024

Even though... 😆

from xcodeserversdk.

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.