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 TODO #92

Open
24 of 30 tasks
talentlessguy opened this issue Oct 1, 2020 · 45 comments
Open
24 of 30 tasks

Tests TODO #92

talentlessguy opened this issue Oct 1, 2020 · 45 comments
Labels
easy good first issue Good for newcomers help wanted Extra attention is needed tests

Comments

@talentlessguy
Copy link
Member

talentlessguy commented Oct 1, 2020

The final goal is of this issue is to achieve ~80-100% coverage

here's a todo list of things that require tests (based on the __tests__ folder):

⚠️ List is in progress, I'll be adding new test tasks over time, here are some that you can submit already

If you want to help with tests, write down to this thread with your questions

@talentlessguy
Copy link
Member Author

talentlessguy commented Oct 1, 2020

Thanks for improved coverage for accepts by @BRA1L0R via #97 and #99

@aneeshrelan
Copy link

Can I try adding tests for bot-detector?

@talentlessguy
Copy link
Member Author

@aneeshrelan yup, will create a separate issue for that now

@talentlessguy
Copy link
Member Author

@aneeshrelan check #111

@aneeshrelan
Copy link

@talentlessguy I see some tests for the mentioned wares, are they still needed?

@shubhi23994
Copy link

I can take up some tests

@talentlessguy
Copy link
Member Author

talentlessguy commented Oct 3, 2020

@shubhi23994 which tests would you like to take up? I will create a separate issue for those you pick

@talentlessguy
Copy link
Member Author

@aneeshrelan I receive lots of PRs during hacktoberfest so I could have missed some of them

and yes, tests are still needed

@shubhi23994
Copy link

I can pick up jsonp to start with

@talentlessguy
Copy link
Member Author

@shubhi23994 alright, making a new issue then :D

@talentlessguy
Copy link
Member Author

@shubhi23994 write in #123 so i can assign you

@MaurizioPz
Copy link
Contributor

Hi, may I take pick ETag?

@talentlessguy
Copy link
Member Author

@MaurizioPz yup, pls wait a sec imma setting up a new issue for this (to later assign it to you)

@talentlessguy
Copy link
Member Author

@MaurizioPz check this: #133

@MaurizioPz
Copy link
Contributor

Hi, may I take also req

@talentlessguy
Copy link
Member Author

@MaurizioPz alright, making a new issue

@talentlessguy
Copy link
Member Author

@MaurizioPz check #140 and write there pls so I can assign you

@alcar
Copy link
Contributor

alcar commented Oct 8, 2020

Hey, @talentlessguy! I'm not familiar with the codebase, but I'm happy to try writing some tests if you still need it!

@talentlessguy
Copy link
Member Author

@alcar hi! you can pick any of the things to test, and I'll open a separate issue for you - e.g. if you decide to test @tinyhttp/session - I'll create an issue "Write tests for @tinyhttp/session"

pick the one you want and I'll assign you to those tests

@alcar
Copy link
Contributor

alcar commented Oct 8, 2020

Do you have any recommendations for a newcomer? If not, I can just pick up the first available one from the list!

@talentlessguy
Copy link
Member Author

@alcar @tinyhttp/send is quite easy to test, so i'd pick that

but feel free to pick anything else

@alcar
Copy link
Contributor

alcar commented Oct 8, 2020

@talentlessguy Sounds great! Could you please create an issue and assign it to me then?

@talentlessguy
Copy link
Member Author

@alcar yup currently making an issue for you

@talentlessguy
Copy link
Member Author

@alcar here you go -> #143

@alcar
Copy link
Contributor

alcar commented Oct 15, 2020

@talentlessguy I'm happy to pick up a new one if you still need it!

@talentlessguy
Copy link
Member Author

@alcar i will setup an issue for testing @tinyhttp/session for you tomorrow

@KoljaTM
Copy link

KoljaTM commented Oct 16, 2020

Would like to help out as well. Anything up for grabs?

@talentlessguy
Copy link
Member Author

@alcar check this => #163

@talentlessguy
Copy link
Member Author

talentlessguy commented Oct 16, 2020

@KoljaTM @tinyhttp/pug has 0% coverage so you can take it

or other modules with almost 100% coverage, such as @tinyhttp/cors

@KoljaTM
Copy link

KoljaTM commented Oct 16, 2020

ok, i'll see what i can do for the pug package

@talentlessguy talentlessguy pinned this issue Oct 17, 2020
@talentlessguy talentlessguy added the help wanted Extra attention is needed label May 5, 2021
@MVelez94
Copy link

MVelez94 commented Oct 8, 2021

I'm interested in contributing tests. I think wares/favicon would be small enough and beginner friendly. How do I start?

@aldy505
Copy link
Member

aldy505 commented Oct 11, 2021

I'm interested in contributing tests. I think wares/favicon would be small enough and beginner friendly. How do I start?

@MVelez94 See https://github.com/tinyhttp/favicon

@Khotam
Copy link

Khotam commented Nov 4, 2021

hi @talentlessguy, i would like to contribute but have no experience with open source projects. could you give me some easier tasks?

@ismailmmd
Copy link

ismailmmd commented Nov 3, 2022

Hey @talentlessguy , I would like to help with wares/cookie-parser . Could you please create a subtask for the same?

@talentlessguy
Copy link
Member Author

@ismailmmd no need to, just submit the PR and link to this issue (write like related to #92)

@talentlessguy
Copy link
Member Author

@Khotam take a look at other tasks

@ismailmmd
Copy link

@talentlessguy I think the above list is not updated. I checked and saw favicon and cookie-parser repos have 💯 >99% coverage

@talentlessguy
Copy link
Member Author

@ismailmmd cookie parser has an uncovered line with secret array I think, would you like to write a test for it? or just make sure it's covered

@ismailmmd
Copy link

@talentlessguy will give it a try 👍

@ismailmmd
Copy link

Created a PR for cookie-parser @talentlessguy 🙏 please review

@talentlessguy
Copy link
Member Author

@ismailmmd merged!

@ismailmmd
Copy link

@talentlessguy Added one more PR to jwt

@pourdaavar
Copy link

Hi there.
how can I participate?

@talentlessguy
Copy link
Member Author

@hoseinprd would be nice to cover this part of code on router: https://coveralls.io/builds/55425079/source?filename=packages%2Frouter%2Fsrc%2Findex.ts#L134

@pourdaavar
Copy link

ok bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy good first issue Good for newcomers help wanted Extra attention is needed tests
Projects
None yet
Development

No branches or pull requests