Suggest please how to solve such task:
I try to write some autotests for angular task. For example: user have to make project with his own structure, to get users from github api. He has to use service, different components, interceptor, routing, forms and other angular features. For example, he made his own solution: stackblitz
And is there any chances to know (check requirements):
- if he use onPush in UsersComponent,
- async pipe,
- UsersService(and methods, can i get and test this methods?)
- reactive forms,
- interceptor,
- that pickUser() method log id to console,
- and UserService call http,
In 2 cases:
--I know user project structure
--and I dont know it (but in both cases I know all methods name).
Maybe I can parse angular files, or copy them and somehow get all I needed?
For now I know how to use protractor to test behavior of project, but I don't know how to check requirements
Aucun commentaire:
Enregistrer un commentaire