Skip to content

AdithyaSalian23/user-management-system-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🧪 User Management System Tests (SQLite + Pytest)

Welcome to the User Management System Tests project! 🎉
This is a lightweight test suite written in Python to validate CRUD operations (Create, Read, Update, Delete) on a simple user database using SQLite and pytest.


📁 Project Structure

user_project/
├── user_db.py # CRUD operations using sqlite3
├── test_user_db.py # Pytest test cases

🚀 Getting Started

1️⃣ Clone the Repository

git clone https://github.com/your-username/user-management-system-test.git
cd user-management-system-test

2️⃣ Set Up a Virtual Environment (optional but recommended)

python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate

3️⃣ Install Dependencies

pip install pytest

🧪 Running the Tests

To run all test cases using pytest, simply run:

pytest

🔧 Features Tested

✅ Create a new user

🔍 Retrieve a user by username

✏️ Update user email

❌ Delete a user


🛠 Technologies Used

Python 🐍

SQLite (in-memory) 🗄️

Pytest 🧪


📄 License

This project is open-source and free to use under the MIT License.

About

Pytest-based test suite for a simple user management system using SQLite and Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages