-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Comments
Can I try adding tests for bot-detector? |
@aneeshrelan yup, will create a separate issue for that now |
@aneeshrelan check #111 |
@talentlessguy I see some tests for the mentioned wares, are they still needed? |
I can take up some tests |
@shubhi23994 which tests would you like to take up? I will create a separate issue for those you pick |
@aneeshrelan I receive lots of PRs during hacktoberfest so I could have missed some of them and yes, tests are still needed |
I can pick up jsonp to start with |
@shubhi23994 alright, making a new issue then :D |
@shubhi23994 write in #123 so i can assign you |
Hi, may I take pick ETag? |
@MaurizioPz yup, pls wait a sec imma setting up a new issue for this (to later assign it to you) |
@MaurizioPz check this: #133 |
Hi, may I take also req |
@MaurizioPz alright, making a new issue |
@MaurizioPz check #140 and write there pls so I can assign you |
Hey, @talentlessguy! I'm not familiar with the codebase, but I'm happy to try writing some tests if you still need it! |
@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 pick the one you want and I'll assign you to those tests |
Do you have any recommendations for a newcomer? If not, I can just pick up the first available one from the list! |
@alcar but feel free to pick anything else |
@talentlessguy Sounds great! Could you please create an issue and assign it to me then? |
@alcar yup currently making an issue for you |
@talentlessguy I'm happy to pick up a new one if you still need it! |
@alcar i will setup an issue for testing |
Would like to help out as well. Anything up for grabs? |
@KoljaTM @tinyhttp/pug has 0% coverage so you can take it or other modules with almost 100% coverage, such as @tinyhttp/cors |
ok, i'll see what i can do for the pug package |
I'm interested in contributing tests. I think |
|
hi @talentlessguy, i would like to contribute but have no experience with open source projects. could you give me some easier tasks? |
Hey @talentlessguy , I would like to help with |
@ismailmmd no need to, just submit the PR and link to this issue (write like |
@Khotam take a look at other tasks |
@talentlessguy I think the above list is not updated. I checked and saw |
@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 |
@talentlessguy will give it a try 👍 |
Created a PR for |
@ismailmmd merged! |
@talentlessguy Added one more PR to |
Hi there. |
@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 |
ok bro |
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):app
-app.set
,app.enable
,app.disable
(codecov)onError
- Test a case where an error doesn't have an HTTP status code, neither is a string (codecov)res.format
- ifdefault
only is specified, call it as a function (codecov)res.format
- if nothing is specified, throw 406 (codecov)@tinyhttp/jsonp
#123)\If you want to help with tests, write down to this thread with your questions
The text was updated successfully, but these errors were encountered: