Coder Social home page Coder Social logo

Comments (7)

felixarntz avatar felixarntz commented on May 5, 2024 1

I think as a first iteration it is already a great step to use the core test suite to test the theme. We can then consider further testing implementations later, I'd suggest. Using the core test suite is also less problematic in terms of finding a framework to use - as that one is certainly maintained.

from wprig.

dingo-d avatar dingo-d commented on May 5, 2024 1

I'd love to see that included. Because most of the topics online are only about unit testing in WordPress, and there is not that much talk or information about how to properly run integration tests for themes or plugins. +1 from me :)

from wprig.

mor10 avatar mor10 commented on May 5, 2024 1

Looping @hellofromtonya into this issue so we can coordinate efforts. #16 looks to address the issue and we have to make sure we take one unified approach to this.

from wprig.

greatislander avatar greatislander commented on May 5, 2024 1

I recently used wp scaffold theme-tests to set up unit tests in Travis CI for some theme-specific utility functions and found the process quite straightforward. Whatever process is decided upon Iā€™d be happy to help contribute some tests.

from wprig.

dingo-d avatar dingo-d commented on May 5, 2024

Or just add/setup tests using codeception?

from wprig.

hellofromtonya avatar hellofromtonya commented on May 5, 2024

I'm a huge advocate of both unit (in isolation without WP running) and integration (with WP and any other plugins running) tests.

+1 from me

from wprig.

felixarntz avatar felixarntz commented on May 5, 2024

Done via #114

from wprig.

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.