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

Unit Testing #6

Open
fairingrey opened this issue Mar 13, 2019 · 0 comments
Open

Unit Testing #6

fairingrey opened this issue Mar 13, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@fairingrey
Copy link
Owner

AFAIK there isn't any idiomatic way I know of to do unit testing in an actix-web application, as that would involve having to mock client messages on valid data, and given handlers are async ('technically' speaking, as the db actor is still sync) this might prove to be a bit difficult...

If anyone has suggestions or ways to approach this issue, feel free to make a comment or open a PR. Otherwise I'll try looking around and see what other people are doing before I attempt to make a test suite myself.

@fairingrey fairingrey added help wanted Extra attention is needed question Further information is requested enhancement New feature or request labels Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant