How to unit test my Google OpenID consumer app?

My web application is a Google OpenID user (with an attribute extension and an OAuth extension), and I need to write a unit test [edit: for checking the device responsible for interacting with Google] for it.

The problem is that by default, logging into the OpenID system requires user interaction (user input / pass), which is not possible in the unit test.

Do you have any idea how I can solve this problem and unit test my application for OpenID users?

(I prefer not to run my own OpenID provider.)

+3
source share
2 answers

. Selenium .

(, ).

Google -.

+1

, , "unit test". , . , -, , .
unit test , Openid, ( , ), , b. , , , , .

+1

Source: https://habr.com/ru/post/1794179/


All Articles