✍️
Team FitBob
  • Introduction and Foreword
  • Motivation
  • Features
  • Tech Stack
  • Software Engineering Practices
    • Requirements
    • Software Design Patterns
      • Model View Controller (MVC)
      • Abstraction Occurrence Pattern
  • Deployments
    • Trying Our App
  • Activity diagram
  • Frontend
    • Login
    • User Registration
    • Client Screens
      • Client Dashboard
      • Client Profile
      • Eating History
      • Meals
    • Personal Trainer screens
      • Personal Trainer Profile
      • Personal Trainer Dashboard
        • Clients
        • Meal plans
        • Meals
    • Recipe screens
    • Search screen
    • Searching for Restaurants
    • Notes on BeautifulSoup and Flask
    • Request/Success/Failure Cycle
  • Backend
    • Notes on Django
    • API
    • Entity relationship diagram
  • Testing
    • User Testing
    • Backend
  • Project Limitations and Constraints
  • Closing Thoughts.
  • Project log
  • Poster
Powered by GitBook
On this page
  • API testing for Client methods
  • API testing for Personal Trainer and Client methods

Was this helpful?

  1. Testing

Backend

How we tested our backend.

PreviousUser TestingNextProject Limitations and Constraints

Last updated 3 years ago

Was this helpful?

We decided to use Postman to conduct unit testing on our API endpoints. The tests were written in a way where when ran sequentially, the API calls simulate how a Client/Personal trainer may interact with the application. Also, we made use of Postman's random variable generator to create new Users, recipes, meal plans, etc.

API testing for Client methods

Testing Documentation

Please use this to view the testing documentation.

API testing for Personal Trainer and Client methods

Testing Documentation

- Client API test

Please use this to view the testing documentation.

- Personal trainer and Client API test

Video Link
link
Video Link
link
Live testing of the Client's API methods using local host.
Live testing of the Personal trainer and Client API methods using local host.