hypequery test package for query testing

A command to re-generate types, identify schema drift, smoke test the queries with performance testing and differences. Something like the below:

$ npx hypequery test

πŸ” Schema Check

βœ“ All types match database schema

⚠️ New column 'users.deleted_at' detected

πŸ§ͺ Smoke Test (running queries)

βœ“ activeUsers (45ms, 12 rows)

βœ“ revenueByMonth (120ms, 24 rows)

βœ“ topCustomers (2100ms, 50 rows)

πŸ“Š Performance Check

βœ“ All queries within thresholds

⚠️ topCustomers is slow (2100ms > 1000ms threshold)

Upvoters
Status

In Review

Board
πŸ’‘

Feature Request

Date

1 day ago

Author

Luke

Subscribe to post

Get notified by email when there are changes.