Comments (13)
@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.
@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.
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.
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.
Are you using latest version of wp-browser? I do not mean master
.
from wp-browser.
Yes. But when I change to codeception 2.3, this happens. When I go back to 2.2 its fine.
from wp-browser.
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.
No problem. Yes, saw that. Thanks.
from wp-browser.
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.
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.
@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.
@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 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)
- [BUG] Git Hub Pages are Down? HOT 1
- [BUG] "Could not find a WordPress installation" error when initialising a plugin HOT 1
- [BUG] `amEditingUserWithId()` method missing from v4 HOT 1
- [BUG] Ajax tests fail HOT 2
- [BUG] Tests fail when being run from phpstorm HOT 3
- https://wpbrowser.wptestkit.dev/ not working HOT 1
- [FEATURE REQUEST] Add (grab|see)TransientInDatabase methods to WPDb
- [BUG] v4 doesn't like database names with periods in them HOT 1
- [DOC REQUEST] Test examples HOT 4
- [BUG] Can't access WP built-in functions even when using WPLoader HOT 14
- [BUG] Empty < Invalid database name: > when trying to add WPLoader HOT 2
- [BUG] v4 uses `__wakeup`, which many plugins have overridden with an error. HOT 3
- [BUG] WPLoader doesn't load wordpress installation HOT 11
- [DOC REQUEST] Setup issues HOT 4
- [BUG] Warnings while running tests HOT 1
- [SETUP ISSUE] failed activation, invalid Chrome binary HOT 4
- [FEATURE REQUEST] Integrate with ACF HOT 3
- [SETUP ISSUE] Teardown error ā $wpdb is null HOT 5
- [FEATURE REQUEST] Lock WordPress to Specific Version HOT 4
- [BUG] race conditions & bugs due to connecting twice to database with WPTestCase and WPLoader | v3 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-browser.