prmr / Creco

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

Streamline testing scenarios #104

Closed prmr closed 10 years ago

prmr commented 10 years ago

We need to be able to quickly run through the scenarios and add to them when we discover new issues. I suggest to break them down by action and things to look for

For auto complete tests: "apple" : Apple is listed as both a brand and a product

For search tests and others, link the URL of the start page, e.g., http://localhost:8080/searchCategories?query=apple : The following categories show up:...

And for product ranking: http://localhost:8080/searchProducts?id=34387 : "Acer Iconia A1-810-L416 (Wi-Fi, 16GB)" shows up first

OR, as just discovered by @forgues:

http://localhost:8080/searchProducts?id=34387 | "Overall Score" : "Apple iPad Air (Wi-Fi, 16GB)" shows up first (in our case there's a bug)

priyasidhaye commented 10 years ago

I could add another table below the current one specifying the exact product names/ids to look for and the expected output to check.

enewe101 commented 10 years ago

@priyasidhaye I assigned this to you -- that seems fairly natural, since I think you were already working on it. Could you post a brief update as to whether this is still in progress or finished?

priyasidhaye commented 10 years ago

Yes. I was working on the explanation part so I didn't get time to update these, but I'll have them up by tonight.

On Thu, Apr 17, 2014 at 3:09 PM, enewe101 notifications@github.com wrote:

@priyasidhaye https://github.com/priyasidhaye I assigned this to you -- that seems fairly natural, since I think you were already working on it. Could you post a brief update as to whether this is still in progress or finished?

— Reply to this email directly or view it on GitHubhttps://github.com/prmr/Creco/issues/104#issuecomment-40751085 .

priyasidhaye commented 10 years ago

Added test scenarios to docs/scenarios to include the bugs we found. I'll go ahead and close this.