Giter Site home page Giter Site logo

Unit Tests for Models about canvas HOT 4 CLOSED

austintoddj avatar austintoddj commented on July 16, 2024
Unit Tests for Models

from canvas.

Comments (4)

austintoddj avatar austintoddj commented on July 16, 2024 1

Awesome @erikgall. Let me look into it a little bit and I'll get back to you!

from canvas.

erikgall avatar erikgall commented on July 16, 2024

@austintoddj I wrote a package that attempted to create a test case specifically for this purpose. In Rails, I would say it is a lot more common to test models, relationships, and their corresponding database table. From your description, I think it would take care if this and I wouldn't mind some feedback on it/would like to see if it's something that could be used easily by others (https://github.com/erikgall/eloquent-phpunit). I can create PR that pull's it in and uses it if you would like.

from canvas.

austintoddj avatar austintoddj commented on July 16, 2024

@erikgall Really like the package that you wrote there, it's exactly the kinda thing I was envisioning. If you wanted to create a PR that brings this into Canvas, that'd be fantastic as it'll monitor a deeper level of code that hasn't been covered yet.

from canvas.

erikgall avatar erikgall commented on July 16, 2024

@austintoddj Awesome. I'll pull that in and create a PR once I'm done. Thanks for taking a look at it.

from canvas.

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.