20 lines
556 B
Markdown
20 lines
556 B
Markdown
# Space Profiles Test Notes
|
|
|
|
This module includes a unit suite scaffold under `tests/codeception/unit`.
|
|
|
|
Current unit coverage targets:
|
|
- HTML sanitization hardening regressions
|
|
- Public/profile access helper behavior
|
|
- Form-level validation behavior for core profile fields
|
|
|
|
## Run
|
|
|
|
In a HumHub development environment with Codeception installed:
|
|
|
|
```bash
|
|
cd protected
|
|
php vendor/bin/codecept run -c modules/space_profiles/tests/codeception.yml unit
|
|
```
|
|
|
|
If `vendor/bin/codecept` is not present, install dev dependencies for the HumHub environment first.
|