Galileo-dev / Testing-CS4442

2 stars 0 forks source link

๐Ÿข๐Ÿ“… Room Booking System ๐Ÿง‘โ€๐Ÿ’ป

This project is aimed at designing, building, and testing a room booking system. The main objective of the system is to avoid overlapping bookings and to let the booking manager know if a room is being booked, for how long, by whom, and when.

Built With

Requirements

Usage

Prerequisites

Usage

  1. Backend
  1. Frontend

Testing

Prerequisites

Setup

Backend

Our framework of choice is pytest. however, we need to test our code that uses Firestore and Firebase auth. we were able to test these without needing to make API calls to the normal Firebase service by using Firebase emulator which creates a local instance of Firebase for testing purposes. in a way, it's just a very fancy mock library.

Frontend

The SvelteKit app uses playwright to do end-to-end testing.

Running Tests

Backend

Frontend