Skip to content

How to init fake RequestCtx for unit test's? #56

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

Open
oranze opened this issue Aug 29, 2019 · 1 comment
Open

How to init fake RequestCtx for unit test's? #56

oranze opened this issue Aug 29, 2019 · 1 comment

Comments

@oranze
Copy link

oranze commented Aug 29, 2019

Good day,
For unit testing need somehow make face RequestCtx struct to use it in testing router handler?
The question: how make it nice and easy, maybe already somebody have made router handler's functions test?

@perpetual-hydrofoil
Copy link

See #60

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

No branches or pull requests

2 participants