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 tests for JSONWebParser #374

Open
paetz opened this issue Dec 25, 2022 · 0 comments
Open

Unit tests for JSONWebParser #374

paetz opened this issue Dec 25, 2022 · 0 comments
Assignees
Labels
KTLO This feature will not be delivered to customers
Projects
Milestone

Comments

@paetz
Copy link
Collaborator

paetz commented Dec 25, 2022

Todo:

  • introduce a NetworkTaskBuilder component and pass it to JSONWebParser on instantiation (with default value)
  • create custom JSONWebParser as SUT with suitable networkRequest and a mocked NetworkTaskBuilder to create the corresponding NetworkTask mock
  • expect NetworkTask mock to be executed with according url
  • test onNetworkTaskResolved by checking onUpdateFinished on a mocked UpdateListener for the different exit codes
@paetz paetz added the KTLO This feature will not be delivered to customers label Dec 25, 2022
@paetz paetz added this to To do in YacGuide via automation Dec 25, 2022
@paetz paetz moved this from To do to In progress in YacGuide Jan 31, 2023
@paetz paetz self-assigned this Jan 31, 2023
@paetz paetz added this to the v0.8.0 milestone Feb 23, 2023
@paetz paetz moved this from In progress to To do in YacGuide Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
KTLO This feature will not be delivered to customers
Projects
YacGuide
  
To do
Development

No branches or pull requests

1 participant