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

Unit testing code #15

Merged
merged 1 commit into from
Jul 3, 2012
Merged

Unit testing code #15

merged 1 commit into from
Jul 3, 2012

Conversation

mattcan
Copy link
Contributor

@mattcan mattcan commented Jun 30, 2012

In issue #1, the request for unit testing, it seemed to be agreed that unit testing wasn't needed. I disagree and figured I'd do it any ways because, you know, fuck it. Also the current tests were lacking a bit so now we can prove all functionality!

Tests cover all three of the current functions and are simple to write as they use QUnit.

I wasn't impressed with the lackluster testing and I thought this
project deserved better which is why I decided to go with the
same unit testing framework that jQuery uses. If it's good
enough for them then it should be good enough for us.

Right?

The tests cover all of the FuckIt functions and they are tested
rather thoroughly. Hopefully this works for everyone. I'm sure
it will.

I really can't see anything wrong with the above code.
mattdiamond added a commit that referenced this pull request Jul 3, 2012
@mattdiamond mattdiamond merged commit d3cdca0 into mattdiamond:master Jul 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants