Start your journey in REST API Automation Tests in 5 minutes 😎
API call to: https://httpbin.org/#/Anything/get_anything
GitHub account
- ✨ Get your own copy of this repository
- Click
Fork
button on the top right corner - Effect: repository cloned to your GitHub account
- Click
- ✅ Enable GitHub Actions CI
- Go to
Actions
panel - Click
I understand my worflows, go ahead and enable them
- Effect: Actions unlocked but shows
There are no workflow runs yet.
- Go to
- 💻 Open code editor
- Go to
Code
panel - Click
.
(dot symbol) on your keyboard - Effect: Visual Studio Code Editor opened with EXPLORER panel on left
- Go to
- 🖐️ Start coding
- On left chose
test
folder and clickget-resources.spec.js
- DELETE
.skip
phrase (with dot) from first test (starting in line3
) - Effect: your tests starts with
it("should return status code 200 ...
- On left chose
- 🚀 Apply changes to repository
- Use keyboard shortcut
Ctrl + Shift + G
to open SOURCE CONTROL panel on left - Enter changes message
Removed skip from first test
- Click ✔ (tick button) on top menu in SOURCE CONTROL panel
- Effect: All changes applied to your repository! (this is called
pushed commit
)
- Use keyboard shortcut
- 🏃♂️ Go back to repository
- Go to top left hamburger menu and clik it
- Use last option
Go to repository
- Effect: Repository opened in new tab
- 👀 See tests in Action!
- Go to
Actions
panel and clickRemoved skip from first test
workflow - Scroll to the bottom of the page and check results
- Effect: Test run with success!🎉🎉🎉
---------------- Tests Passed ✅ Skipped ↪️ Failed ❌ JUnit Test Report 2 run 1 passed 1 skipped 0 failed
- Go to
- Remove skip from next test,
- Make
commit
- See how it fail in
Actions
- ...and then fix it!