Author: Greta Petkova
Install Docker using this download link for Mac or this tutorial for linux.
Verify Docker installation:
docker -v
If everything is alright, you should see something like this:
Docker version 19.03.5, build 633a0ea
To clone the repository run:
git clone [email protected]:greatpetkova/twittertest.git
If everything is alright, you should see something like this:
Cloning into 'twittertest'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.
Open "Terminal" on your computer and navigate to the folder that you clonned or downloaded the repository.
To build Docker container run:
./bin/build.sh
If everything is alright, you should see something like this:
Successfully built 527d6eb73b9c
Successfully tagged twitter_test:latest
Open "Terminal" on your computer and navigate to the folder that you clonned or downloaded the repository.
To run twitter tests run:
./bin/run.sh
If everything is alright, you should see something like this:
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.084 sec - in Twitter_Test
Results :
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
Enjoy :)