liip / liip/LiipFunctionalTestBundle

Future of this bundle and a v5 release?

Open
#663 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
648
Forks
179
PR merge metrics
No merged PRs in 30d

Description

This bundle was created more than 10 years ago, when Symfony lacked some methods to ease testing.

Fixtures loading was moved to another bundle: https://github.com/liip/LiipFunctionalTestBundle/blob/3.x/UPGRADE-3.0.md

Now most of these methods can be replaced by Symfony methods (checking HTTP code, login, etc.), so many methods may be removed from this bundle.

CI must install `doctrine/annotations` to avoid an issue:

- GH-653

So, if the next major release remove all the deprecated functions and the `QueryCounter`, what will remain?

We should check the docs:

- https://github.com/liip/LiipFunctionalTestBundle/blob/4.15.0/doc/basic.md
- https://github.com/liip/LiipFunctionalTestBundle/blob/4.15.0/doc/command.md does Symfony have helpers to test commands?
- https://github.com/liip/LiipFunctionalTestBundle/blob/4.15.0/doc/logged.md
- https://github.com/liip/LiipFunctionalTestBundle/blob/4.15.0/doc/query.md consider removing it
- https://github.com/liip/LiipFunctionalTestBundle/blob/4.15.0/doc/fastest.md I should try it in a project to see if this still works

Then summarize what can be removed or kept, and see if it’s worth releasing a new version if it only contain a few methods.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review doc/basic.md, doc/command.md, doc/logged.md, doc/query.md, and doc/fastest.md, then inspect the deprecated functions, QueryCounter, and GH-653 context. Compare the documented helpers with Symfony's available testing methods and verify whether the fastest approach still works in a project. Done means a summary of what can be removed or kept and a reasoned recommendation on whether a v5 release is worthwhile.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
documentation, release, testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.