2 रिपॉजिटरी
Configures specific errors to be returned from any mocked database operation to test error handling paths.
Distinct from Database Error Handling: Distinct from Database Error Handling: focuses on simulating errors for testing, not on handling real database exceptions.
Explore 2 awesome GitHub repositories matching data & databases · Error Simulators. Refine with filters or upvote what's useful.
go-sqlmock is a Go library that simulates SQL driver behavior for unit testing by intercepting database calls through the standard database/sql/driver interface, eliminating the need for a real database connection. It provides a comprehensive mocking framework that allows developers to define expectations for SQL operations, including queries, executions, prepared statements, and transaction lifecycles, with precise control over the results and errors returned. The library distinguishes itself through its flexible matching and verification capabilities. It supports regex-based or exact SQL
Configures specific errors to be returned from any database operation to test error handling paths.
sqli-labs is a collection of intentionally vulnerable web applications and sandbox environments designed for practicing the identification and exploitation of SQL injection vulnerabilities. It serves as a cybersecurity education lab where users can experiment with database exploits in a controlled setting. The environment provides specialized modules for testing a wide range of attack vectors, including error-based, boolean-blind, and time-based injections. It specifically covers advanced techniques such as second-order injections, stacked queries, and attacks targeting HTTP headers. The pro
Provides modules for revealing database structures through union selects and simulated error messages.