Initial import of space_profiles module
This commit is contained in:
19
tests/README.md
Normal file
19
tests/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user