Giter VIP home page Giter VIP logo

Comments (6)

nueverest avatar nueverest commented on July 17, 2024

I can't find the unit tests either.

from croppie.

adam-rocska avatar adam-rocska commented on July 17, 2024

Unit test foundation proposal in PR : #84

from croppie.

JoeDuncko avatar JoeDuncko commented on July 17, 2024

Since #84 was merged, can this be closed then?

from croppie.

thedustinsmith avatar thedustinsmith commented on July 17, 2024

@JoeDuncko Not really ... the PR that was merged in just lays the foundation. I'd like more things to actually be tested. Like the result of a crop, the boundary checks, etc. I don't really know where to start with these. I haven't had the time to dive into how things like Croppie can be tested.

from croppie.

JoeDuncko avatar JoeDuncko commented on July 17, 2024

@thedustinsmith that makes sense. Can we make this issue more specific so that we can qualify what a PR that would close this issue would look like? Or make a new issue that does that? Even if it's just a research task, I think it'd make this more actionable for contributors..

from croppie.

thedustinsmith avatar thedustinsmith commented on July 17, 2024

That sounds great. However, I don't really have the time to focus on croppie right now.

I can sum up a list of common troubles we have encountered as far as github issues are concerned. If you're interested in helping, feel free to transfer these into manageable lists/issues separated however you feel appropriate.

  • Make sure we're exporting correctly across all module definitions: #532
  • Resulting image is correct dimensions & not distorted
  • binding with points
  • enforcing boundary doesn't let the image escape the boundary
  • rotating with enforceBoundary true maintains boundary restriction
  • cropping with enforceBoundary false results in expected image
  • image that is smaller than boundary reacts accordingly depending on enforceBoundary true/false

Sorry I can't be more specific at the moment. I'd love help on the project. I don't have the time to work on this like I used to.

from croppie.

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.