Code Monkey home page Code Monkey logo

Comments (13)

chriszarate avatar chriszarate commented on June 12, 2024 2

@lucatume That's awesome! I've been tinkering around this problem for awhile with no luck. Any chance there's a public example repo of that while you work on a write-up?

from wp-browser.

jasonbahl avatar jasonbahl commented on June 12, 2024 1

@lucatume hey, I wanted to follow up. My colleague @mngi-arogers, who really knows his Docker stuff, was able to get coverage working with Docker and Codeception.

TBH, I don't fully understand it all, but it's working over here now: https://github.com/wp-graphql/wp-graphql/

from wp-browser.

lucatume avatar lucatume commented on June 12, 2024

I have to look into this; I've used remote test coverage just once.
Tagging this as "question" as at this stage it might just be me missing something and not a real bug.

Will keep you posted, thanks for opening the issue!

from wp-browser.

essekia avatar essekia commented on June 12, 2024

Hi,

I get the following error when trying to run coverage.

Fatal error: Class 'Codeception\Command\GeneratePhpUnit' not found in /Users/essekia/Websites/helpie-all/helpie-plugin/wp-content/plugins/helpie/vendor/lucatume/wp-browser/wpcept on line 22

Tried the same things as @tangrufus.

from wp-browser.

lucatume avatar lucatume commented on June 12, 2024

Are you using latest version of wp-browser? I do not mean master.

from wp-browser.

essekia avatar essekia commented on June 12, 2024

Yes. But when I change to codeception 2.3, this happens. When I go back to 2.2 its fine.

from wp-browser.

lucatume avatar lucatume commented on June 12, 2024

Codeception 2.3 is not supported yet. See issue 77 opened by me. Please take a moment to read through the open issues before opening a new one.

from wp-browser.

essekia avatar essekia commented on June 12, 2024

No problem. Yes, saw that. Thanks.

from wp-browser.

lucatume avatar lucatume commented on June 12, 2024

Closing for lack of activity; I've tried and has mixed results very much depending on the local server setup.
I'm inclined to file it under a local server issue rather than a wp-browser one.

from wp-browser.

jasonbahl avatar jasonbahl commented on June 12, 2024

Curious if anyone figured out the remote coverage for WordPress. We're having a hard time getting it setup for WPGraphQL. See: wp-graphql/wp-graphql#482

If anyone knows how to configure Codeception + WordPress and capture coverage for wpunit, functional and acceptance tests, that would be RAD to hear how you accomplished.

from wp-browser.

lucatume avatar lucatume commented on June 12, 2024

@jasonbahl I did. Iā€™m out for another week but will circle back to write an article or a guide to do it.

from wp-browser.

lucatume avatar lucatume commented on June 12, 2024

@chriszarate I'm trying to make the time to do it and, even if not in the context of an article, provide a repository to show it.
Next on my to-do list for wp-browser.

from wp-browser.

lucatume avatar lucatume commented on June 12, 2024

@lucatume hey, I wanted to follow up. My colleague @mngi-arogers, who really knows his Docker stuff, was able to get coverage working with Docker and Codeception.

TBH, I don't fully understand it all, but it's working over here now: https://github.com/wp-graphql/wp-graphql/

Thanks a lot for sharing this; I will take a look and still (anf...) hope to write something about it.

from wp-browser.

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.