badoo / badoo/soft-mocks

Use in PHPUnit processIsolation="true" environment

Open
#49 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
308
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Can I use soft-mocks in PHPUnit processIsolation="true" environment?

...It may need a patch for TestCaseClass.tpl and TestCaseMethod.tpl (and skip to patch for phpunit entrypoint).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing TestCaseClass.tpl and TestCaseMethod.tpl to understand how PHPUnit processIsolation="true" affects soft-mocks. Check the PHPUnit entrypoint only if those templates require it. Done means determining whether soft-mocks work in this environment and, if not, documenting or implementing the needed changes and verifying them with a process-isolated PHPUnit case.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.