All The Tools You Need To Build A Successful Online Business
API and Backend Testing with Python Course
-
Intro to Course
- Welcome To The Course
- About The Test Site and Ecommerce API
- Add Sample Products To The Site
-
Installation and Setup of Tools
- Intro to Installation and Setup Section
- Installing Python On Mac
- Installing Python On Windows
- How to Use Virtual Environment
- Create Virtual Environment For The Course
- Install IDE (PyCharm)
- PyCharm Project & Virtual Environment
- Options To Run WordPress
- Running WordPress with MAMP
- Install Plugin "WooCommerce"
- Setup WooCommerce API
-
PyTest Quick Summary
- Introduction to PyTest
- Selecting Tests By Markers (Tags)
- Setup & Teardown (fixtures)
- PyTest HTML Report
-
Build Framework and Automate Test Cases
- How To Use The Provided Code
- Project Structure Overview
-
Test Case Discussion
- TCID-29 - Discussion - "create a customer" endpoint
- TCID-29 - Design Test Code Template
-
Design Helper Classes
- Helper - Email & Password Generator (TCID-29)
- Helper - Crete Customer (TCID-29)
- Helper - 'POST' request (TCID-29)
- Authenticate our API call
- Helper - Credentials
- TCID-29 Verify 'Create Customer' API Response
-
Environment Variables & Database Helper Class
- Setting Environment Variables
- Customers DAO
- Helper - Database Connect & SQL
- TCID-29 Verify Database
-
Test Case ID 30
- TCID-30 - Discussion - List All Customers Endpoint
- TCID-30 - List All Customers (GET Call)
-
More Practice Test Cases
- TCID-48-1 Place Guest Order - Read Payload From File
- TCID-47 - Create Customer Existing Email (negative test)
- Run All Customers Test Cases
- Assignment - Automate TCID-24 (Get All Products)
- TCID-24 Get All Products - Implementation
- TCID-25 Get Product By ID
- TCID-26 Create Simple Product
- TCID-51-1 List Product With Filter "after"
- TCID-51-2 List Product With Filter "after" - db verification
- TCID-51-3 List Product With Filter "after" - more pages
-
More Practice: Using Python Library by WooCommerce
- WooCommerce Python Library Intro
- TCID-48-1 Place Guest Order - Discussion
- TCID-48-3 Place Guest Order - Make The Call
- TCID-48-4 Place Guest Order -Validate Response
- TCID-48-5 Place Guest Order -Validate db
- TCID-49 Place Order With New Customer
- Setup Example with TCID-49
-
More Practice: Setup & Database Configurations
- Use Configs for Database Connections
- TCID-55-1 Update Order Status - Cancelled
- TCID-55-2 Update Order Status - Cancelled
- TCID-55,56,57 Parametrization
- TCID-58 Update Order Status - Invalid Status
- TCID-59 Update Order - "customer_note"
-
EXERCISES
- Exercise TCID-61: Verify update 'regular_price' updates the 'price' field
- Exercise TCID-63: Verify update 'sale_price > 0' will set field 'on_sale'=True
- Exercise TCID-64: Verify update 'sale_price=" "' will set field 'on_sale'=False
- Exercise TCID-65: Verify update 'sale_price' updates the 'sale_price' field
- Exercise TCID-60: Order with 50% off coupon should reduce total by 50%
- Exercise TCID-37: Create a new coupon with 'discount_type=percent'
- Exercise TCID-39: Create a new coupon with ‘discount_type=fixed_product’
- Exercise TCID-38: Create a new coupon with 'discount_type=fixed_cart'
- Exercise TCID-40: Create a new coupon with ‘discount_type=<invalid>‘
-
Run In Docker
- Docker Section Introduction
- Create Dockerfile & Build Image
- Start Container and Try Test Run - unsuccessful
- Connect to Database From Container
- Use Docker Volumes To Avoid Image Rebuild
- Make API Cal from Container
- Run Tests From Outside Container
- Wrapper Script To Run Tests In Container
- Color Output From Docker Run
- Using Debugger (pdb) With Docker
- Timestamp The Report
- Docker Section Summary
Basic
$29
Top features
- Excepteur sint occaecat velit
- Excepteur sint occaecat velit
- Excepteur sint occaecat velit
- Excepteur sint occaecat velit
- Excepteur sint occaecat velit
{% assign products = current_site_user.products | sort: 'title' %}
{% comment %} --- SECTION 1: FOUNDATION --- {% endcomment %}
Foundation
{% for product in products %}
{% if product.title contains '[FDN]' %}
{% endif %}
{% endfor %}
{% comment %} --- SECTION 2: INTERMEDIATE --- {% endcomment %}
{{ product.title | remove: '[FDN]' }}
Launch Course
Intermediate
{% for product in products %}
{% if product.title contains '[INT]' %}
{% endif %}
{% endfor %}
{% comment %} --- SECTION 3: AI AUTOMATION --- {% endcomment %}
{{ product.title | remove: '[INT]' }}
Launch Course
AI Automation
{% for product in products %}
{% if product.title contains '[AI]' %}
{% endif %}
{% endfor %}
{{ product.title | remove: '[AI]' }}
Launch Course