Skip to content

01aptx01/try-automated-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Automated Testing Practice

คลังรวมสคริปต์ฝึกหัด Automated Testing ที่เน้นโครงสร้างโปรเจกต์เป็นระเบียบ
และใช้มาตรฐานการจัดการ Version Control (Git) เพื่อเตรียมความพร้อมสู่สายงาน
QA Engineer / Automation Engineer


🛠 Tech Stack

  • Framework: Robot Framework 🤖
  • Libraries:
    • SeleniumLibrary — Web UI Testing
    • RequestsLibrary — API Testing
  • Language: Python 🐍
  • Editor: VS Code

📂 Project Structure

จัดเก็บไฟล์แยกตามประเภทของการทดสอบ เพื่อให้ง่ายต่อการอ่านและบำรุงรักษา

AUTOMATED-TESTING/
├── API/
│   └── api.robot          # สคริปต์สำหรับทดสอบ API Endpoints
├── Login/
│   └── login.robot        # สคริปต์สำหรับทดสอบ UI Login Flow
└── README.md              # เอกสารประกอบโปรเจกต์

📝 Commit Message Guideline

เพื่อให้ประวัติการพัฒนา (Git History) อ่านง่ายและสื่อสารได้ชัดเจน โปรเจคนี้จะใช้มาตรฐาน Conventional Commits ดังนี้:

Format

type: description

Types

Type Description (ไทย) Example
feat เพิ่ม Test Case หรือ Feature ใหม่ feat: add login success test case
fix แก้ไข Script ที่ Fail หรือแก้ไข Bug fix: update locator for login button
docs แก้ไขหรืออัปเดตเอกสาร (README) docs: update commit guideline
refactor ปรับปรุงโค้ดให้ดีขึ้น (เช่น ยุบ Keyword) refactor: optimize api test structure
style แก้ไข Format โค้ด (Space, Indent) style: fix indentation in login.robot
chore งานจิปาถะ เช่น อัปเดต Library chore: update seleniumlibrary version

💡 Tips for Good Commits

  • Use Imperative Mood: ใช้ประโยคคำสั่งในส่วน description เช่น add ไม่ใช่ added, fix ไม่ใช่ fixed
  • Be Concise: เขียนให้กระชับแต่ได้ใจความว่าทำอะไรลงไป
  • No Full Stops: ไม่ต้องใส่จุด (.) ท้ายประโยค description

About

Automated Testing Lab: A repository of standardized testing scripts with professional Git workflows and industry-ready project architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors