Skip to content

Unit testing relies of not using handler macros without explanation #21

Open
@FrankTaylorLieder

Description

@FrankTaylorLieder

Thanks for building this workshop, it's a great way to try out new technologies.

I came across an issue with the unit testing section. I decided not to abandon macros at the end of configure section, because why would you?

It turns out Actix unit testing does not work with macro-enhanced handlers as they are converted to a struct and not left as a function.

It would be useful to motivate the switch from macros to raw handlers. At the moment its presented as just something you could do for fun.

Further, the code in the repo (check_health) does not match the document coded (health).

(Did I miss something?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions