Fluent builder for testing Quarry commands.
const result = await module .quarry('users:create') .withInput({ email: 'test@example.com', admin: true }) .run()result.assertSuccessful()result.assertOutputContains('User created') Copy
const result = await module .quarry('users:create') .withInput({ email: 'test@example.com', admin: true }) .run()result.assertSuccessful()result.assertOutputContains('User created')
Execute the command and return a TestCommandResult for assertions.
Set the flat input for the command.
Fluent builder for testing Quarry commands.
Example