Personal DB/Unclassified record

[Django] How to test something - user's viewpoint

Ayin Kim 2021. 1. 19. 00:30
반응형

How to test something from user's viewpoint?

 

Purpose is clear, to let user allow enjoying all features as intended.

 

def github_callback(request):

    code = request.GET.get("code")

    print(request.GET)

    pass

 

That print allows the developer to see and refer the terminal message.

Literally, this is an essential method to test out whether it works as intended or not.