Codeception / Codeception/module-doctrine

Flush from the seeInRepository method

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

Description

Hello. First of all, thank you for the great testing framework.
I would like to clarify how to use the `seeInRepository` method. I have read the documentation and can't understand why this method executes the doctrine's flush. I had a few cases when I had forgotten to add the flush in the app and had got green tests because of this behavior. Maybe the flush from this method is not a good idea?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names the seeInRepository method but no files or tests. Start by locating that method in the module and checking its existing test coverage and documentation; done requires a decided flush behavior, matching tests, and documentation that explains the result.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.