anti-work / shortest

Have AI write and update tests for you
https://shortest.com
MIT License
187 stars 21 forks source link

Feature: Implement Assertion #85

Closed m2rads closed 18 hours ago

m2rads commented 5 days ago

Add assertion support and DB validation to test framework

Changes:

Example usage:

.when('Logged in', async () => {
const user = await db.query.users.findFirst();
expect(user).toBeDefined();
})

Demo: image

vercel[bot] commented 5 days ago

@m2rads is attempting to deploy a commit to the Antiwork Team on Vercel.

A member of the Team first needs to authorize it.

m2rads commented 5 days ago

Note: the feature branch feat/github-oauth has been merged into this branch already. Please merge and resolve that branch before merging this one. Thanks

vercel[bot] commented 19 hours ago

You must have Developer access to commit code to Antiwork on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.

Learn more: https://vercel.com/docs/accounts/team-members-and-roles/access-roles#team-level-roles

m2rads commented 19 hours ago

Hi @slavingia I addressed your pr review btw. Please let me know if you'd like me to change something else.