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

Tests #12

Closed
knownasilya opened this issue Apr 16, 2015 · 17 comments
Closed

Tests #12

knownasilya opened this issue Apr 16, 2015 · 17 comments

Comments

@knownasilya
Copy link

Would love for there to be tests..

Here's a use case: IvyApp/ivy-sortable#3 (comment)

@bevacqua
Copy link
Owner

You're welcome to do the time, as long as you use tape, sinon, and proxyquire. I'm blazing through other stuff at the moment

@joesephforDianite
Copy link

hmmm mabey I can help to but on my free time. I'm trying to learn in coding different sites

@gh0stonio
Copy link

Is anyone on this? Maybe i can help too

@bevacqua
Copy link
Owner

Nope. Give it a shot!

@gh0stonio
Copy link

Ok i will try to help you.
I just need to look how to use tape, i never use it and don't know how it's work.

@bevacqua
Copy link
Owner

@knownasilya
Copy link
Author

Nice example.

@gh0stonio
Copy link

Thanks, i will have a look at it

@sonicoder86
Copy link

some higher level tests, for example with protractor?

@bevacqua
Copy link
Owner

I'd rather just have tests using tape that doesn't need any confusing setup

@sonicoder86
Copy link

You mean a simple protractor config and a static webserver would be confusing?
E2E could sit on top of unit tests ensuring that the component is usable in a real word scenario not just in a unit test. For example an element drag is easily reproducable with Protractor.

@bevacqua
Copy link
Owner

You can also use testling which is just a unixy CLI tool

@naugtur
Copy link

naugtur commented Jul 20, 2015

testling seems abandoned, I saw multiple repos switching to zuul+saucelabs and I made that switch in one repo - easy (unless browsers start timing out ;) )

@bevacqua
Copy link
Owner

Agreed, zuul would be great. Anyone willing to take this on?

bevacqua added a commit that referenced this issue Jul 25, 2015
Basic frame for zuul unit tests (#12)
@bevacqua
Copy link
Owner

I'm giving this a shot with testron and hihat, the project has become popular enough that it sort of must have tests

@knownasilya
Copy link
Author

Yay! 👍

@bevacqua
Copy link
Owner

Okay, dragula got a bunch of tests. There's a ton of corner cases missing, but it's definitely way better than where it was before. Also, I need to set up CI with travis or circle at some point. For now it's just running locally on development environments.

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

6 participants