new-day-international / reddit

New Day fork of the code that powers reddit.com
Other
3 stars 1 forks source link

Create tests for baseline functionality in lightnet #160

Closed caseydriscoll closed 10 years ago

caseydriscoll commented 10 years ago

Estimate: 2d (Timeboxed)

Integration tests:

Create User Login User Change User Delete Account

Add Post Add Comment Vote

caseydriscoll commented 10 years ago

All tests are now located at https://github.com/new-day-international/lightnet-tests

Registration feature completely written. Other features stubbed in a todo.

A lot of things learned about the test suite including step writing, browser selection and fixtures.

We found a nasty bug involving deleting a user and how that person persists. They are removed from the system, but if they try logging back in it 'accepts' them but nothing changes. Expecting system to reject them as they should not exist.

myers commented 10 years ago

Did you open another issue for this for sprint 4? Did you open an issue for the bug we found? Can you link them here so we can follow them?

caseydriscoll commented 10 years ago

Not yet. No. Yes.

caseydriscoll commented 10 years ago

Sprint 4 tests: https://github.com/new-day-international/reddit/issues/173

caseydriscoll commented 10 years ago

Deleted user and relogin bug: https://github.com/new-day-international/reddit/issues/174