codeigniter4 / codeigniter4/CodeIgniter4

Dev: cannot write test for file uploading

Open
#7,987 2 comments 1 reaction 0 assignees View on GitHub
dev enhancement
Dominant language
PHP
Stars
6k
Forks
2k
Avg merge
1d 11h
Merged PRs (30d)
73

Description

We currently don't have a great way to test file uploads for end users.

See https://forum.codeigniter.com/showthread.php?tid=88557

Reference: https://github.com/kenjis/ci-phpunit-test/pull/157

Contributor guide

Open the contributing guide

Research direction

Start by reading the forum discussion and the referenced ci-phpunit-test pull request, then inspect how CodeIgniter4 currently handles upload testing. Define what end-user upload tests must be able to exercise and what a completed testing approach should demonstrate.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.