Blog
FAQ
Discussions
Search
Projects, issues, users, and merge requests.
Project ID, name, and description.
User nickname, name, and org.
Issue ID, title, and summary.
Merge request titles.
Contrib
.social
Feed
Live feed
Builds
Live builds
Core
Tags
Tags and Initiatives
Test Helpers
Open on Drupal.org →
Open on Drupal GitLab →
Created on 15 September 2022,
almost 3 years ago
Maintained by
🇦🇲
Armenia
murz
Clone
Clone with SSH
Clone with HTTPS
Clone with
doGit
🇦🇲
Armenia
93%
🇵🇱
Poland
3%
🏴☠️
2%
🏴☠️
🇫🇷 🇬🇧 🇺🇸
2%
Top 3 contributors
EPAM Systems
91%
🇵🇱
@dmitry.korhov
🇦🇲
@murz
Skilld
1%
🇫🇷
@andypost
nLightened Development LLC
1%
🇺🇸
@nicxvan
and 2 individuals
( 8% )
🇬🇧
@jonathan1055
@project update bot
Follow
Sign in to follow projects
Merge Requests
More
!151
Draft: Issue #3538698: Rework comments with PHPUnit metadata to attributes to fix...
Open
Unnamed author
updated
2 days ago
!150
Add support for Drupal 11.2.x and PHPUnit 11.x
Merged
Show issue
🇦🇲
Armenia
murz
updated
5 days ago
!149
HTTP mock: Assets for the mocked responses are not stored if Guzzle throws an exception on error responses (4xx and 5xx)
Merged
Show issue
🇦🇲
Armenia
murz
updated
about 1 month ago
!148
The list of tests in the test assets medatada should be sorted
Merged
Show issue
🇦🇲
Armenia
murz
updated
3 months ago
!147
Issue #3521514 by joyakas: Expose the locking implementation
Merged
Unnamed author
updated
3 months ago
!146
HTTP mock: the test name is not added of the response is already stored
Merged
Show issue
🇦🇲
Armenia
murz
updated
4 months ago
More Merge Requests
Issues
✨
Rework comments with PHPUnit metadata to attributes to fix PHPUnit 11 deprecation warnings
Active
Code
Created
5 days ago
v1.5
🇦🇲
Armenia
murz
2 days ago
✨
Add support for Drupal 11.2.x and PHPUnit 11.x
Active
Code
Created
25 days ago
v1.5
🇦🇲
Armenia
murz
5 days ago
🐛
HTTP mock: Assets for the mocked responses are not stored if Guzzle throws an exception on error responses (4xx and 5xx)
Active
Code
Created
about 1 month ago
v1.5
🇦🇲
Armenia
murz
about 1 month ago
📌
Add the ability to log string translation calls
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
3 months ago
✨
Expose the locking implementation
Active
Code
Created
3 months ago
v1.5
🇺🇦
Ukraine
Joyakas
3 months ago
🐛
The list of tests in the test assets medatada should be sorted
Active
Code
Created
3 months ago
v1.5
🇦🇲
Armenia
murz
3 months ago
🐛
HTTP mock: the test name is not added of the response is already stored
Active
test_helpers_http_mock.module
Created
4 months ago
v1.5
🇦🇲
Armenia
murz
4 months ago
✨
[Nightwatch] Add a command to wait for an element to be re-rendered
Active
Nightwatch.js Commands
Created
4 months ago
v1.5
🇦🇲
Armenia
murz
4 months ago
🐛
stubStoreRequestHashUsage sometimes produces an error: RuntimeException: Could not acquire the lock to store the last requests hashes
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
4 months ago
🐛
Missed 'return' statement in HttpClientFactoryStub.php service
Active
Code
Created
5 months ago
v1.5
🇺🇦
Ukraine
vetal4ik
5 months ago
📌
Store metadata as yml and body as txt in the HttpClientFactoryStub
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
📌
Sort uses with no case sensitivity to follow Drupal code style
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
✨
Support lazy serv
Active
Code
Created
5 months ago
v1.5
🇵🇱
Poland
dmitry.korhov
5 months ago
✨
Add a context to mocking responses feature of the HttpClientFactoryStub
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
📌
Add return types and improve attributes typing
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
📌
Reimplement function MockBuilder::addMethods() locally
Active
Code
Created
10 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
📌
Fix a warning: PHP Deprecated: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
Active
Code
Created
11 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
✨
Rework setting the overridden stored response data to work in parallel mode
Active
Code
Created
10 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
✨
Rework entity create stub to use the create function from the original class
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
🐛
The thDrupalFetchURLTest sometimes fails on the pipeline, but restarting fixes the error
Active
Code
Created
10 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
✨
Rework loading services from YAML using YamlFileLoader Drupal class
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
🐛
The list of last requests hashes from thGetLastRequestsHashes and stubGetLastRequestsHashes can miss some requests because of the race condition
Active
Code
Created
5 months ago
v1.5
🇦🇲
Armenia
murz
5 months ago
🐛
ConnectionStub throws error when fetchAll is called on execute.
Active
Code
Created
about 1 year ago
v1.4
🇺🇸
United States
nicxvan
6 months ago
✨
Improve autodetecting of the module's services in the initService()
Active
Code
Created
6 months ago
v1.5
🇦🇲
Armenia
murz
6 months ago
📌
Test a phpunit issue on pipeline for Drupal 11
Active
Code
Created
10 months ago
v1.5
🇦🇲
Armenia
murz
6 months ago
✨
Add Nightwatch command to set and get Drupal config
Active
Code
Created
7 months ago
v1.5
🇦🇲
Armenia
murz
7 months ago
✨
Add the hook_implementations_map parameter to the container stub
Active
Code
Created
7 months ago
v1.5
🇦🇲
Armenia
murz
7 months ago
🐛
Error on Drupal 11.1.x: Trying to configure method "loadRevision" with onlyMethods(), but it does not exist in class "Drupal\Core\Config\Entity\ConfigEntityStorage"
Active
Code
Created
7 months ago
v1.5
🇦🇲
Armenia
murz
7 months ago
✨
Provide Nightwatch command that resolves the path to any component
Active
Code
Created
8 months ago
v1.5
🇺🇦
Ukraine
Joyakas
8 months ago
✨
Add support for named arguments in services
Active
Code
Created
8 months ago
v1.5
🇦🇲
Armenia
murz
8 months ago
💬
What is the proper way to inject the cache backend?
Active
Documentation
Created
over 1 year ago
v1.3
🇺🇸
United States
nicxvan
8 months ago
📌
Update info.yml file according to info.yml template
Needs review
Code
Created
over 2 years ago
v1.0
🇮🇳
India
jay jangid
8 months ago
✨
Create a Nightwatch function to search elements by nested selectors
Active
Code
Created
10 months ago
v1.5
🇦🇲
Armenia
murz
8 months ago
✨
Manual mocking responses for the http_client service
Active
Code
Created
about 1 year ago
v1.5
🇦🇲
Armenia
murz
8 months ago
📌
Remove CI workarounds for fixed Drupal issues
Active
Code
Created
9 months ago
v1.5
🇦🇲
Armenia
murz
9 months ago
✨
Provide an easy way to get the latest response from the HTTP Client Stub
Active
Code
Created
9 months ago
v1.5
🇦🇲
Armenia
murz
9 months ago
📌
Automated Drupal 11 compatibility fixes for test_helpers
Needs review
Code
Created
9 months ago
v1.5
project update bot
9 months ago
📌
Automated Drupal 11 compatibility fixes for test_helpers
Needs review
Code
Created
9 months ago
v1.5
project update bot
9 months ago
🐛
Errors in "thGetLastRequestsHashes" and "thGetRequestResponseByHash"commands
Needs work
Code
Created
9 months ago
v1.5
🇺🇦
Ukraine
vetal4ik
9 months ago
✨
Return the user object in the commands for creating and logging the user.
Active
Code
Created
9 months ago
v1.5
🇺🇦
Ukraine
vetal4ik
9 months ago
✨
Add append mode and logs to the http_client stub responses storage
Active
Code
Created
9 months ago
v1.5
🇦🇲
Armenia
murz
9 months ago
📌
Make more detailed errors if a Nightwatch command fails
Active
Code
Created
9 months ago
v1.5
🇦🇲
Armenia
murz
9 months ago
🐛
The module produces an assertion error on field definition discovery
Active
Code
Created
10 months ago
v1.5
🇺🇦
Ukraine
Joyakas
9 months ago
✨
Add Nightwatch command to fetch a Drupal URL directly with headers
Active
Code
Created
10 months ago
v1.5
🇦🇲
Armenia
murz
10 months ago
✨
Add helpers for Nightwatch tests to install modules, create users, etc
Active
Code
Created
12 months ago
v1.5
🇦🇲
Armenia
murz
10 months ago
📌
Fix phpunit errors on new Drupal release 10.3.3
Active
Code
Created
10 months ago
v1.5
🇦🇲
Armenia
murz
10 months ago
✨
Check and report test coverage in GitLab CI
Active
Code
Created
11 months ago
v1.5
🇦🇲
Armenia
murz
11 months ago
📌
Fix phpunit warnings
Fixed
Code
Created
11 months ago
v1.5
🇦🇲
Armenia
murz
11 months ago
📌
Limit Drupal versions to 10.2.x for the 1.3.x branch
Fixed
Code
Created
11 months ago
v1.3
🇦🇲
Armenia
murz
11 months ago
✨
Option to store the HTTP headers in http_client_factory stub and do not store by default
Fixed
Code
Created
11 months ago
v1.5
🇦🇲
Armenia
murz
11 months ago
✨
Add a Nigthwatch test to test the HTTP Client Mock API and improve the stub features
Fixed
Code
Created
12 months ago
v1.5
🇦🇲
Armenia
murz
12 months ago
✨
Add stubs for the state and key_value_factory core services
Fixed
Code
Created
about 1 year ago
v1.5
🇦🇲
Armenia
murz
12 months ago
💬
Call to undefined method Drupal\Core\Entity\EntityTypeManager::stubGetOrCreateStorage()
Closed: outdated
Code
Created
about 1 year ago
v1.3
🇬🇧
United Kingdom
Alina Basarabeanu
12 months ago
✨
Mock class method with TestHelpers::createClass
Closed: won't fix
Code
Created
about 1 year ago
v1.3
🇮🇳
India
gaurav_manerkar
12 months ago
✨
Make a stub of the http_client and http_client_factory services to store and mock HTTP requests
Fixed
Code
Created
about 1 year ago
v1.5
🇦🇲
Armenia
murz
12 months ago
📌
Remove calling the parent constructor for LoggerChannelFactoryStub
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
✨
Move test and example submodules to the tests/modules subdirectory
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
📌
Fix unit tests for Drupal 11.x
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
📌
Fix support for Drupal 10.3.x
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
✨
Implement full initialization of services with a factory
Fixed
Code
Created
over 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
✨
Add support for getting Database Stub using Database::getConnection()
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
✨
Fix MemoryBackend initalization for Drupal 10.3.x
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
📌
Try to make a workaround for breaking changes to work well with D9 and D10 together
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
✨
Auto-initiate the core pager.manager service
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
✨
Add stub for event_dispatcher service to simplify test events
Fixed
Code
Created
about 1 year ago
v1.4
🇦🇲
Armenia
murz
about 1 year ago
📌
Automated Drupal 11 compatibility fixes for test_helpers
Fixed
Code
Created
about 1 year ago
v1.4
project update bot
about 1 year ago
🐛
Call to deprecated method loadRevision() of class Drupal\Core\Entity\ContentEntityStorageBase
Closed: works as designed
Code
Created
over 1 year ago
v1.4
🇮🇳
India
gaurav_manerkar
over 1 year ago
🐛
PHP 8.2: Creation of dynamic property is deprecated
Fixed
Code
Created
over 1 year ago
v1.4
🇺🇦
Ukraine
stomusic
over 1 year ago
🐛
Incorrect field object type for entity_reference type field
Fixed
Code
Created
over 1 year ago
v1.4
🇮🇳
India
gaurav_manerkar
over 1 year ago
✨
Support fields provided by Drupal core Options module
Fixed
Code
Created
over 1 year ago
v1.4
🇺🇦
Ukraine
stomusic
over 1 year ago
📌
Fix cSpell errors
Fixed
Code
Created
over 1 year ago
v1.4
🇦🇲
Armenia
murz
over 1 year ago
🐛
Not able to mock private methods
Closed: works as designed
Code
Created
over 1 year ago
v1.4
🇮🇳
India
gaurav_manerkar
over 1 year ago
📌
Rename DatabaseStub to ConnectionStub
Fixed
Code
Created
over 1 year ago
v1.4
🇦🇲
Armenia
murz
over 1 year ago
✨
Allow passing explicit services.yml path to a service init function
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
over 1 year ago
✨
Generate html documentation for Test Helpers API
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
over 1 year ago
📌
Deprecate UploadedFileStub in favor of mikey179/vfsstream
Fixed
Code
Created
over 1 year ago
v1.3
🇦🇲
Armenia
murz
over 1 year ago
💬
Odd behavior with TestHelpers::saveEntity() and service callbacks in setUp() method
Closed: outdated
Code
Created
almost 2 years ago
v1.2
🇺🇸
United States
j.cowher
over 1 year ago
✨
Add support for Drupal 11.x tests
Fixed
Code
Created
over 1 year ago
v1.3
🇦🇲
Armenia
murz
over 1 year ago
✨
Provide a stub for 'user.permissions' (PermissionHandler) service
Fixed
Code
Created
over 1 year ago
v1.3
🇦🇲
Armenia
murz
over 1 year ago
✨
Simplify module root searching by finding the info.yml file
Fixed
Code
Created
over 1 year ago
v1.3
🇦🇲
Armenia
murz
over 1 year ago
📌
Run automated tests on GitLab CI together with the legacy tests
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
over 1 year ago
✨
Add a helper to test sequences of values
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
almost 2 years ago
✨
Add stubs for url_generator and link_generator services
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
almost 2 years ago
✨
Add a stub for the renderer service
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
almost 2 years ago
✨
Add support for initiating services with parent service
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
almost 2 years ago
🐛
Handful of bug fixes
Fixed
Code
Created
almost 2 years ago
v1.3
🇺🇸
United States
j.cowher
almost 2 years ago
✨
Add support for entities with bundles but without bundle_entity_type, like MenuLinkContent
Fixed
Code
Created
almost 2 years ago
v1.3
🇦🇲
Armenia
murz
almost 2 years ago
✨
Provide a stub for UploadedFile class
Fixed
Code
Created
almost 2 years ago
v1.2
🇦🇲
Armenia
murz
almost 2 years ago
🐛
The matchEntityCondition() operator check should not be case sensitive
Fixed
Code
Created
almost 2 years ago
v1.2
🇦🇲
Armenia
murz
almost 2 years ago
🐛
UnitTestCaseWrapper should not override TestCase::__construct()
Fixed
Code
Created
almost 2 years ago
v1.1
🇺🇸
United States
j.cowher
almost 2 years ago
✨
Add a helper to get the full path to a module file from a relative path
Fixed
Code
Created
almost 2 years ago
v1.2
🇦🇲
Armenia
murz
almost 2 years ago
✨
Add a helper for mocking PHP regular (global) functions like file_put_contents
Fixed
Code
Created
almost 2 years ago
v1.2
🇦🇲
Armenia
murz
almost 2 years ago
✨
Add a stub for language.default service
Fixed
Code
Created
about 2 years ago
v1.0
🇦🇲
Armenia
murz
almost 2 years ago
🐛
getPluginDefinition() doesn't fill the provider property for definitions
Fixed
Code
Created
about 2 years ago
v1.0
🇦🇲
Armenia
murz
about 2 years ago
🐛
substr(): Passing null to parameter #1 ($string) of type string is deprecated - when initiating the 'transliteration' service on PHP 8.1
Fixed
Code
Created
about 2 years ago
v1.0
🇦🇲
Armenia
murz
about 2 years ago
✨
Show the exact array element that doesn't match in isNestedArraySubsetOf function
Fixed
Code
Created
about 2 years ago
v1.0
🇦🇲
Armenia
murz
about 2 years ago
✨
Add a helper for creating Entity Field stubs
Fixed
Code
Created
about 2 years ago
v1.0
🇦🇲
Armenia
murz
about 2 years ago
📌
Document that these tests will run on Drupal.org
Fixed
Documentation
Created
about 2 years ago
v1.0
🇺🇸
United States
mlncn
about 2 years ago
✨
Add helper to assert throwing exceptions
Fixed
Code
Created
about 2 years ago
v1.0
🇦🇲
Armenia
murz
about 2 years ago
✨
Add support for Core's Link field type out of the box
Fixed
Code
Created
about 2 years ago
v1.0
🇦🇲
Armenia
murz
about 2 years ago
contrib
.social
Blog
FAQ
Discussions
Production build 0.71.5
2024