Commit 42f6d41
fix(configuration): strip whitespaces when reading .testcontainers.properties (testcontainers#474)
## What does this PR do?
Strip whitespaces from key and value after reading
`~/.testcontainers.properties`. The way TCD writes this file, the `=`
will be surrounded by whitespaces, e.g.:
```
kiview@kay ~ % cat .testcontainers.properties
tc.host = tcp://127.0.0.1:59499
testcontainers.reuse.enable = true
```
## Why is it important?
Adds Plug&Play support for Testcontainers Desktop and Testcontainers
Cloud.
## How to test this PR
Run any kind of tests that involve creating and starting containers,
while Testcontainers Desktop is running. Testcontainers Desktop should
be used and hence started containers can be seen in the Testcontainers
Cloud dashboard.1 parent 298be8c commit 42f6d41
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments