- The purpose of the Sprint 7 project is to practice using JavaScript to API testing utilizing different softwares such as VS Code, GitHub, and Git Bash.
-
Connect to GitHub using the provided link on Sprint 7's project page
-
Set up your workspace:
- Open Git Bash.
- Confirm you are in your home directory.
- Create a new directory for your projects:
-
- mkdir projects (Creates a folder called "projects")
-
- cd projects (Changes directory into new project folder)
-
Clone the repository:
-
git clone git@github.com:username/hm07-qa-us.git
-
Replace 'username' with your username
-
-
Open the Project in VS Code:
- Open VS Code.
- Go to File > Open Folder.
- Select the 'project' folder to open it.
-
In the terminal of VS Code:
-
Before you start testing
-
- npm install --yes
-
To run all of the test suites
-
- npx jest
-
To run a single test suite
-
- npx jest tests/(name of file)