Public Repository

Last pushed: 5 months ago
Short Description
A highly configurable, customizable and technology agnostic E2E test automation framework!
Full Description

cTAF: TEST AUTOMATION REDEFINED

cTAF is a flagship product of Covalense which is a highly configurable, customizable and technology agnostic E2E test automation framework.

How to start with?

Pull the Docker Image:

docker pull covalense/ctaf

Now, you can start the image in 2 ways:
1) Interactive mode
2) Daemon mode

Remember that the Tomcat inside the container always runs on 8080 and MySQL runs on 3306

1) Interactive Mode:

Run the below command to run the image .

"docker run -it -p extport:8080 -p extport1:3306 covalense/ctaf"

Where extport is the port number that you want to access the cTAF app on and extport1 is the port where you want to access the MySQL on from your local machine...

For ex: docker run -it -p 1234:8080 -p 1122:3306 covalense/ctaf

Here, we are exposing the 8080 port on the container to 1234 local port. and 3306 port is exposed on 1122

Once the container is started and attached , run the shell script " startup.sh" which is present under the / directory.

This is it!. You can now access the cTAF app on your browser with the URL. Ex: http://hostname:1234/cTAF

2) Daemon Mode:

In daemon mode, you will not be attached with any container directly. Once you run the image the container starts and will run in background.

Run the below command:

"docker run -td -p extport:8080 -p extport1:3306 covalense/ctaf"

Where extport is the port number that you want to access the cTAF app on and extport1 is the port where you want to access the MySQL on from your local machine...

For ex: docker run -td -p 1234:8080 -p 1122:3306 covalense/ctaf

Now, check the docker process to find out if it is started or not.

Command: docker ps

The out put will give you the container name. Please make a note of it.

Now to start all the processes, run the below command.

docker exec conatiner_name /bin/bash /startup.sh

EX: docker exec cranky_volhard /bin/bash /startup.sh

This will start the mysql and tomcat. You will be intimated once all the process are started.

You can now access the cTAF app on your browser with the URL. Ex: http://hostname:1234/cTAF

Docker Pull Command
Owner
covalense

Comments (0)