[libgda.wiki] Create testing/testing



commit 53c9a326d7b77851b7af63c0b759ee8e173fd12b
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Fri Jan 11 17:02:00 2019 +0000

    Create testing/testing

 Testing.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/Testing.md b/Testing.md
new file mode 100644
index 0000000..ff7ec94
--- /dev/null
+++ b/Testing.md
@@ -0,0 +1,21 @@
+**Introduction**
+
+GDA as a layer library to access database servers, need specific setups to run tests to locally installed 
services. This guide, will help you to setup your environment for tests.
+
+**General instructions**
+
+Your database server should be installed and configured to accept connections; you should know credentials 
connections and address, as well as database's name. You should be able to create new databases in your 
server, in order to run automatic tests.
+
+Tests explore your environment variables to check if they have the required information to connect to your 
server. If they are not set, tests will not be performed and skipped.
+
+**PostgreSQL**
+
+[PostgreSQL](https://www.postgresql.org/) is one of the servers with better support in GDA, in terms of 
multiuser network connected servers.
+
+In order to enable running tests against this server you should set:
+
+*  `POSTGRESQL_DBCREATE_PARAMS` typical value could be 
`HOST=postgres;ADM_LOGIN=$POSTGRES_USER;ADM_PASSWORD=$POSTGRES_PASSWORD`
+*  `POSTGRESQL_CNC_PARAMS` typical value could be 
`HOST=postgres;USERNAME=$POSTGRES_USER;PASSWORD=$POSTGRES_PASSWORD`
+*  `POSTGRESQL_META_CNC` typical value could be 
`DB_NAME=$POSTGRES_DB;HOST=postgres;USERNAME=$POSTGRES_USER;PASSWORD=$POSTGRES_PASSWORD`
+
+You should set `POSTGRES_USER` and `POSTGRES_PASSWORD` environment variables or sustitud them by 
corresponding values for your connection.
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]