che-server/dockerfiles/test
Florent BENOIT 5554345aae [cli] Fix cli tests by reworking how integration tests are launched (#3991)
* Fix #3980 by reworking how integration tests are launched
- We used OS path mounted into container path (it makes issues as on Windows we don’t have these paths)
- Now use /dockerfiles path inside the container
- add skip check for nightlies or it was downloading new images while testing the current nightly
- add —rm for cleaning containers at the end of docker run
- introduce of some asserts instead of custom checks
- Fix windows issue (like path with spaces)
- Fix teardown of che start tests

Change-Id: I352d7c475796df641c1e34f461c55a76c897922d
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-02 09:43:48 +01:00
..
Dockerfile RELEASE: set nightly versions 2017-02-01 16:32:56 +02:00
README.md Move eclipse/che-dockerfiles che-* images to this repository in /dockerfiles folder 2016-12-01 06:10:34 -07:00
build.sh [cli] Fix cli tests by reworking how integration tests are launched (#3991) 2017-02-02 09:43:48 +01:00

README.md

Testing local or remote Eclipse Che instance with a Docker container

Build container

$ build.sh  (on Unix)

Run a test

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-test <name-of-test>

Get available tests

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-test

Get help on a test

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-test <name-of-test> --help