Skip to content

Testing

Noah Rijkaard edited this page Aug 20, 2024 · 3 revisions

Controller Testing:

> Most of the controller tests were straightforward, ensuring that the basic functionalities like URL shortening, redirection, and user data logging worked as expected. However, I encountered some issues with Tailwind CSS configuration, which required debugging and adjustment.

Challenges with User Data Model Testing:

> Testing the user_data model was more complex, mainly due to the integration of timezone and geo-location gems. These gems needed to be stubbed out for testing purposes, which required thorough testing to ensure accuracy and reliability in tracking user data.

Clone this wiki locally