Giter Site home page Giter Site logo

Tests about cachet HOT 8 CLOSED

cachethq avatar cachethq commented on May 5, 2024
Tests

from cachet.

Comments (8)

Ehesp avatar Ehesp commented on May 5, 2024

How far are we going in order to test the actual application, say via unit testing?

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

PHPUnit, mock tests, test for expected outputs etc.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

The guys at @codeclimate have an awesome system for showing code coverage too.

from cachet.

Ehesp avatar Ehesp commented on May 5, 2024

Okay, quite a bit of work to do then on the controllers, DI etc.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

Yeah, it's not a high priority but it would help catch any silly mistakes.

from cachet.

Ehesp avatar Ehesp commented on May 5, 2024

I think as the code has already been written I'll config Mockery to only allow existing methods on Mocked classes... Mockery::getConfiguration()->allowMockingNonExistentMethods(false);

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

@Ehesp I've setup Travis and the tests are now running.

from cachet.

jbrooksuk avatar jbrooksuk commented on May 5, 2024

We have a test suite coming along let's close this and just add tests as we go now.

from cachet.

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.