Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YUI Test mocking framework enhancement #442

Open
trungpham opened this issue Feb 7, 2013 · 2 comments
Open

YUI Test mocking framework enhancement #442

trungpham opened this issue Feb 7, 2013 · 2 comments

Comments

@trungpham
Copy link

Take a look at this: http://pivotal.github.com/jasmine/#section-Spies

Coming from JasmineJS background, the ability to spy on any object proven to be very useful. I would like to see this functionality in YUI Test as well.

P.S. I would love to swap out YUITest for JasmineJS in my Mojito app if I knew how. :)

@hojberg
Copy link
Contributor

hojberg commented Feb 7, 2013

@trungpham not to pimp my self, but i've been working on https://github.com/hojberg/primrose to bring some Jasmine love to YUI. Would love help on it :) Primrose does have spies and will have YUI specific Event and ATTR spies as well.

I successfully test with Jasmine atm (not using primrose yet) It's not crazy hard.

@trungpham
Copy link
Author

Agree. Testing yui app with jasmine is not hard. Using jasminejs with Mojito is tough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants