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
Copy file name to clipboardExpand all lines: README.md
+20-13Lines changed: 20 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
-
# ebean-test-config
1
+
# ebean-test
2
2
3
-
Plugin that simplifies testing configuration for Ebean. This includes automatically starting docker containers (like Postgres, MySql, SqlServer, Oracle, ElasticSearch, HANA etc).
3
+
Plugin that simplifies testing configuration for Ebean. This includes automatically starting docker containers (like Postgres, MySql, SqlServer, Oracle, ElasticSearch, HANA etc).
4
4
These containers are started and typically setup for testing by creating a database and user ready to run tests against.
5
5
6
6
## Prerequisite
7
7
8
8
You need docker installed locally.
9
9
10
10
## To use
11
-
#### 1) Add ebean-test-config as a test scope dependency
databasePlatformName: sqlserver17 ## put here when testing multiple platforms
59
+
#collation: SQL_Latin1_General_CP1_CS_AS ## use an explicit collation
60
+
#collation: default ## use the sql server default
54
61
```
55
62
56
63
@@ -60,7 +67,7 @@ ebean:
60
67
61
68
The `db` system property can be set which:
62
69
- Sets the default datasource Ebean will use
63
-
- If it matches a known container name like `postgres`, `mysql`, `oracle`, `hana` or `sqlserver` then it will start an appropriate docker container to run the tests against.
70
+
- If it matches a known container name like `postgres`, `mysql`, `oracle`, `hana` or `sqlserver` then it will start an appropriate docker container to run the tests against.
64
71
65
72
In this way we can run tests against a specific database platform. e.g.
0 commit comments