GithubHelp home page GithubHelp logo

Comments (12)

odino avatar odino commented on July 20, 2024

even the protected ones ;)

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

great, but what's the task to be done?

from badge-poser.

agiuliano avatar agiuliano commented on July 20, 2024

the createImage function for example has to be tested indirectly by testing all the public function that use it and passing them a plenty of input that test the correct work of createImage too

@odino yep, I mean protected and private ;)

from badge-poser.

leopro avatar leopro commented on July 20, 2024

@agiuliano imho a comment directly on code is better ;-)

from badge-poser.

agiuliano avatar agiuliano commented on July 20, 2024

@leopro you're right!

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

Could we close this?

from badge-poser.

agiuliano avatar agiuliano commented on July 20, 2024

I think not, 'cause of https://github.com/PUGX/badge-poser/blob/master/src/PUGX/BadgeBundle/Tests/Service/ImageCreatorTest.php#L90

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

fair enough...
there's another smell on tests: use PUGX\StatsBundle\Test\StatsFunctionalTest; on https://github.com/PUGX/badge-poser/blob/master/src/PUGX/BadgeBundle/Tests/Controller/PageControllerTest.php
we have coupled those bundles... maybe we could clean it.

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

I have decoupled those tests #84

still as @agiuliano said some cleaning are needed

from badge-poser.

cirpo avatar cirpo commented on July 20, 2024

@agiuliano such as? I would love to work on this :)

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

@cirpo we would love you

from badge-poser.

JellyBellyDev avatar JellyBellyDev commented on July 20, 2024

I believe that this issue can be closed. thank you!

from badge-poser.

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.