uprm-inso4117-2023-2024-s2 / semester-project-uprmarketplace

semester-project-uprmarketplace created by GitHub Classroom
0 stars 0 forks source link

[Lecture Topic Task] - Property Base Testing #159

Closed YeranConcepcion closed 4 months ago

YeranConcepcion commented 5 months ago

Objective: The objective of this task is to implement property-based testing for the review page feature, focusing on testing the behavior of the system based on a set of properties rather than specific inputs.

Approach:

Identify Properties: Define properties that the review page should satisfy, such as "submitted reviews must be saved to the database" or "sorting reviews by date should display the most recent reviews first." Generate Test Data: Use a property-based testing tool such as Hypothesis (for Python) or QuickCheck (for other languages) to generate test data that satisfies the defined properties. Run Tests: Execute the property-based tests to verify that the review page behaves as expected based on the defined properties.

Recommended Difficulty: 4 Recommended Urgency: 5