![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#3
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#4
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#5
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#6
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#7
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#8
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#9
| |||
| |||
|
|
I'm using PostgreSQL as the server for several of my applications, but unit testing the application by setting up and SQLite in-memory database during the test case. This is workable, and certainly better than the unacceptable overhead of connecting to a PostgreSQL server when running the unit tests. This has limitations, though: there are many PostgreSQL features that aren't supported in SQLite, so the unit test fixtures have to fake a lot of it for the sake of the PostgreSQL-specific application code. What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
#10
| |||
| |||
|
|
What options are there for creating and connnecting to a PostgreSQL database that exists only in memory, similar to the same thing in SQLite (and, I believe, MySQL)? |
![]() |
| Thread Tools | |
| Display Modes | |
| |