schooltwist / gfd-core
A bunch of starter types for use with gfd
v0.3.6
2023-08-11 15:59 UTC
Requires
- php: ^7.4|^8.0
- ramsey/uuid: ^4.1
- robinvdvleuten/ulid: ^5.0
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Edit phpunit.xml
for user/pass and temp db
try
php vendor/bin/phpunit
Status:
1/23'
- The DB tests are generic and don't do clever class introspection
- EH Calendar planning calls
Gfd_Validations_Stm::PrevalidateCandidates_forClass
and then the update viaGftSchoolDay::FetchMergeUpdate_onValidPayload
- We days to handle validation differently, since we really don't want to make a mock. Too distinct from a full gfd class. We'd need to ignore the whole writing aspect. At least overriding reading and write, which I find infinitely confusing.
Next Steps
1/23'
- Refactor to make easier to understand via inspection
- More tests and examples, including a non-class based example