You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snapshots capture database state for reproducible regression testing. Instead of
191
-
applying fixtures before each test run, you build a snapshot once and restore it
192
-
before testing. This ensures tests always start from a known state, making them
193
-
isolated and idempotent.
193
+
Snapshots capture database state for reproducible regression testing. Build a
194
+
snapshot from schema + migrations + fixtures, then restore it before testing.
194
195
195
196
**NOTICE**: Snapshot functionality is work in progress.
196
197
@@ -299,7 +300,8 @@ generate:
299
300
300
301
## Ignoring Files
301
302
302
-
You can exclude SQL files from discovery using a `.regresignore` file in your project root:
303
+
You can exclude SQL files from discovery using a `.regresignore` file in your
304
+
project root:
303
305
304
306
```
305
307
# Comments start with #
@@ -530,10 +532,16 @@ regresql/
530
532
531
533
## History
532
534
533
-
The project is a fork of original `regresql` written by [Dimitri Fontaine](https://github.com/dimitri) as part his book [Mastering PostgreSQL](http://masteringpostgresql.com/). The tool was originally inspired by PostgreSQL’s own regression testing framework, providing a lightweight and SQL-native approach to unit and regression testing.
535
+
The project is a fork of original `regresql` written by [Dimitri
536
+
Fontaine](https://github.com/dimitri) as part his book [Mastering
537
+
PostgreSQL](http://masteringpostgresql.com/). The tool was originally inspired
538
+
by PostgreSQL’s own regression testing framework, providing a lightweight and
539
+
SQL-native approach to unit and regression testing.
534
540
535
-
The fork’s goal is to extend RegreSQL into a modern, extensible framework that supports the broader [boringSQL](https://boringsql.com) vision - helping developers to feel more confident working with SQL queries.
541
+
The fork’s goal is to extend RegreSQL into a modern, extensible framework that
542
+
supports the broader [boringSQL](https://boringsql.com) vision - helping
543
+
developers to feel more confident working with SQL queries.
536
544
537
545
## License
538
546
539
-
The RegreSQL utility is released under [The PostgreSQL License](https://www.postgresql.org/about/licence/).
547
+
The RegreSQL utility is released under [BSD-2-Clause license](LICENSE).
0 commit comments