Conversation
Co-authored-by: hwbrzzl <24771476+hwbrzzl@users.noreply.github.com>
Co-authored-by: hwbrzzl <24771476+hwbrzzl@users.noreply.github.com>
|
@copilot you are missing some modules as shown below: https://github.com/goravel/framework/tree/master/database/migration And did you add full test cases for the DB and ORM modules? https://github.com/goravel/framework/tree/master/database/db |
Co-authored-by: hwbrzzl <24771476+hwbrzzl@users.noreply.github.com>
Added follow-up coverage in commit It now includes missing database modules you listed:
I also expanded DB/ORM coverage further:
Validated with:
|
This PR extends
goravel/exampledatabase integration tests to cover missing contract-level behaviors in query builder (facades.DB()), ORM (facades.Orm()), and related database modules (migration,schema,seeder,console). The goal is broader behavioral coverage intests/feature/db_test.go,tests/feature/orm_test.go, andtests/feature/migration_test.goso framework regressions surface via failing tests.DB contract coverage (
tests/feature/db_test.go)Count,Exists,DoesntExist,WhereNotNull(...).Count()RowsAffectedassertionsFirstOrcallback execution only on missFindOrFailfailure on missing rowUpdateOrInsertPluckValueORM contract coverage (
tests/feature/orm_test.go)FirstOrCreateflow:UpdateOrCreateflow:FirstOrNewflow:Migration/Schema/Seeder/Console coverage (
tests/feature/migration_test.go)HasTable,HasColumn,HasColumnsGetColumnListing,GetTableListing,GetIndexesmigrate:statusdb:seeddb:wipemigrateCross-driver behavior
Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.