Coder Social home page Coder Social logo

Make it possible to skip tests. about grumphp HOT 2 CLOSED

phpro avatar phpro commented on June 16, 2024
Make it possible to skip tests.

from grumphp.

Comments (2)

veewee avatar veewee commented on June 16, 2024 1

It seems like a better idea to specify task suites in the grumphp configuration.
This way, it is possible a different CI test suite then the pre-commit test-suite.

I was thinking about the following logic:

  • git:pre-commit uses the git-pre-commit suite if it exists. If it does not exist it used all specified tasks.
  • git:commit-msg uses the git-commit-essage suite if it exists. If it does not exist it used all specified tasks.
  • run uses all specified tasks. When a --testsuite=[suite] is specified, the suite is used or an exception is thrown when it does not exist.

When this is implemented, it would be possible to:

  • Run fast tasks during commit only
  • Run slower tasks during CI
  • Run GrumPHP for functional / acceptance tests
  • Run parts of the tests manually by specifying a testsuite.

Any thoughts?
/cc @aderuwe

from grumphp.

aderuwe avatar aderuwe commented on June 16, 2024

from grumphp.

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.