prmr / Creco

Recommendation System for Consumer Products
Apache License 2.0
6 stars 2 forks source link

Testing the Data API #70

Closed prmr closed 10 years ago

prmr commented 10 years ago

The data API has some tests, but we need more coverage, especially in CategoryTree. Write thorough test cases for:

findEquivalenceClasses()
eliminateSingletons()
refresh()
associateProductsCategories()

We also need coverage of the new derived fields in Product and Attribute

enewe101 commented 10 years ago

Created a test for eliminateAllSingletons() Since this implies no change in functionality, and all tests are passing, I'll merge right into master.

enewe101 commented 10 years ago

Created a test for associateProducts(), pushed to master.

enewe101 commented 10 years ago

Created tests for refresh() and findEquivalenceClasses().

This wraps up my planned testing. I probably have some odds and ends to clean up, but as of now I'm going to be looking for a new place to dump some effort. Feel free to make a suggestion if there is work near you that makes sense to bud off. Otherwise I'll peel through the issues to see if I can find something approachable that doesn't already have too many cooks!