Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 24f7338

Browse files
vjuranekpmacik
authored andcommitted
Update README with info how to run the tests
1 parent a5b4d65 commit 24f7338

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,19 @@ Older JAAS/PicketLink configuration can be still used, but you have to place it
109109

110110
# Running tests
111111

112-
PerfRepo has several tests to ensure REST client compatibility. These tests are configured to use exact copy of production database named `perfrepo_test`, so to run them, you have to set up new datasource `PerfRepoTestDS`, new security domain `perfrepo_test` pointing to the testing database.
112+
Integration tests uses Arquillian WildFly remote container, which means you have to have WidlFly running on your test machine and listening on default ports.
113+
Also you have to add test datasource `PerfRepoTestDS`into the WildFly, ideally pointing to test DB, e.g.
114+
```xml
115+
<datasource jndi-name="java:jboss/datasources/PerfRepoTestDS" pool-name="PerfRepoTestDS" enabled="true" use-java-context="true">
116+
<connection-url>jdbc:postgresql://localhost:5432/perfrepotest</connection-url>
117+
<driver-class>org.postgresql.Driver</driver-class>
118+
<driver>postgresql</driver>
119+
<security>
120+
<user-name>perfrepo</user-name>
121+
<password>perfrepo</password>
122+
</security>
123+
</datasource>
124+
```
113125

114126

115127

0 commit comments

Comments
 (0)