Closed (won't fix)
Project:
Bakery Single Sign-On System
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2011 at 14:50 UTC
Updated:
5 Mar 2014 at 20:17 UTC
Jump to comment: Most recent
Comments
Comment #1
coltraneTests for Bakery would be great, but it seems like a difficult one to test for. I'd need more debugging info on the master login process to understand where it's failing.
Another approach might be to create the chocolate chip (authentication cookie) as part of the test setup process.
Comment #2
darrenmothersele commentedI use a variety of ways of testing projects, but I'm finding Bakery setups are difficult to test. I had similar problems using Twill (python scriptable browser) as I experienced with Simpletest. I think the issue is linked to how redirects are followed. The only way I've been able to test a Bakery setup has been with Selenium, but it's not ideal.
I'll hopefully get chance to look at the Simpletests again soon and see if I can provide more debug information.
Thanks,
Comment #3
kenlyle commentedI read about Upal at http://www.acquia.com/upal - anyone know how that works with Bakery?
Comment #4
coltraneI'm doing BDD tests using cucumber and capybara at https://github.com/bjeavons/Bakery-Chef
I think this issue could move over to being about unit tests of Bakery.
Comment #5
coltraneMarking won't fix. Bakery-Chef is the best place for tests right now. Bakery 3.x will have unit-tests and simpletests where possible.