diff --git a/tests/p_postgresql/0-install_postgresql.sh b/tests/p_postgresql/0-install_postgresql.sh
new file mode 100755
index 0000000..3a212d3
--- /dev/null
+++ b/tests/p_postgresql/0-install_postgresql.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# Author: Athmane Madjoudj <athmanem@gmail.com>
+
+t_InstallPackage postgresql postgresql-server
+t_ServiceControl postgresql start
diff --git a/tests/p_postgresql/postgresql_create_db.sh b/tests/p_postgresql/postgresql_create_db.sh
new file mode 100755
index 0000000..74e2816
--- /dev/null
+++ b/tests/p_postgresql/postgresql_create_db.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Author: Athmane Madjoudj <athmanem@gmail.com>
+
+t_Log "Running $0 - PostgreSQL create database test"
+su - postgres -c 'createdb pg_testdb' > /dev/null 2>&1
+t_CheckExitStatus $?
diff --git a/tests/p_postgresql/postgresql_create_user_test.sh b/tests/p_postgresql/postgresql_create_user_test.sh
new file mode 100755
index 0000000..b1c47da
--- /dev/null
+++ b/tests/p_postgresql/postgresql_create_user_test.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Author: Athmane Madjoudj <athmanem@gmail.com>
+
+t_Log "Running $0 - PostgreSQL create user test"
+
+su - postgres -c 'createuser -S -R -D pg_test_user' > /dev/null 2>&1
+
+
+t_CheckExitStatus $?
diff --git a/tests/p_postgresql/postgresql_drop_db.sh b/tests/p_postgresql/postgresql_drop_db.sh
new file mode 100755
index 0000000..e964e82
--- /dev/null
+++ b/tests/p_postgresql/postgresql_drop_db.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Author: Athmane Madjoudj <athmanem@gmail.com>
+
+t_Log "Running $0 - PostgreSQL drop database test."
+su - postgres -c 'dropdb pg_testdb' > /dev/null 2>&1
+t_CheckExitStatus $?
diff --git a/tests/p_postgresql/postgresql_drop_user_test.sh b/tests/p_postgresql/postgresql_drop_user_test.sh
new file mode 100755
index 0000000..0028c43
--- /dev/null
+++ b/tests/p_postgresql/postgresql_drop_user_test.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Author: Athmane Madjoudj <athmanem@gmail.com>
+
+t_Log "Running $0 - PostgreSQL drop user test"
+
+su - postgres -c 'dropuser pg_test_user' > /dev/null 2>&1
+
+t_CheckExitStatus $?