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

Write tests #5

Closed
ashwini0529 opened this issue Oct 1, 2017 · 20 comments
Closed

Write tests #5

ashwini0529 opened this issue Oct 1, 2017 · 20 comments

Comments

@ashwini0529
Copy link
Member

No tests have been written as of now. Writing tests would be very helpful.

@Emanon42
Copy link

Emanon42 commented Oct 1, 2017

Looks fun! But how can I write unit test for random generator (forgive my innocence, I am new to python)?

@ashwini0529
Copy link
Member Author

There're other functions as well. Please have a look at other modules as well. :)

@theycallmemac
Copy link
Contributor

Do you specifically want tests for each feature offered as described in the README.md file? If so, I'll take this on.

@ashwini0529
Copy link
Member Author

Yes, that would be great. All the functions present in the library.

@theycallmemac
Copy link
Contributor

No problem, you can assign this to me so.

@ashwini0529
Copy link
Member Author

Sure thing! 👍

@e-zorzi
Copy link
Contributor

e-zorzi commented Oct 1, 2017

if it's not a problem I started writing some tests, I didn't see @theycallmemac post here

@ashwini0529
Copy link
Member Author

@theycallmemac are you still working on this issue?

@theycallmemac
Copy link
Contributor

I am, but I'll let @edo-vi work away, if they aren't sufficient, let me know and I'll see what I can do! best of luck

@ashwini0529
Copy link
Member Author

@theycallmemac meanwhile you can check #8 😄

@samuelrey
Copy link
Contributor

It may be worth considering to specify which function you'll test as well as the cases they cover. That way multiple contributors could work on tests & the pull request will be one, cohesive iteration.

@gugsrs gugsrs mentioned this issue Oct 7, 2017
ashwini0529 pushed a commit that referenced this issue Oct 18, 2017
* added first tests for digit()

* fixed typo and added some tests to check if digits() raises exceptions

* added more tests
@samuelrey
Copy link
Contributor

I noticed that between #14 and #33 that the tests live in different places. Was this intentional? Could we move them to the same place?

@samuelrey
Copy link
Contributor

I am testing ipv4 & ipv6!

@ashwini0529
Copy link
Member Author

@samuelrey That was unintentional.
Can you please put all the tests to a single path? Also, tests need to be uniform.

@samuelrey
Copy link
Contributor

Gotcha!

@samuelrey
Copy link
Contributor

What version of python should we be targeting?

@ashwini0529
Copy link
Member Author

Upto 3

@theycallmemac
Copy link
Contributor

Has anything been done on this?

@samuelrey
Copy link
Contributor

I lost my local changes D:
Will update you on Saturday!

@shubhodeep9
Copy link
Member

Closing this issue,
Any discussions regarding tests, let's move it to #51

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