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

[Mobile] Added tests for all used API Endpoints #611

Merged
merged 8 commits into from
Jul 5, 2021

Conversation

amlannandy
Copy link
Collaborator

@amlannandy amlannandy commented Jul 4, 2021

Description

This PR adds Unit Tests for all the endpoints being used by the Mobile Application. Each commit covers tests for a separate section of the API (profile. project, team etc).
Also build_runner package had to be added as a dev dependancy as after null safety, the Mock API class has to be created using it.

Fixes #595

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

testing

Test Configuration:

  • VSCode Testing Extension
  • Windows 10

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@ThatUdeshUK ThatUdeshUK merged commit 99175d7 into scorelab:master Jul 5, 2021
@amlannandy amlannandy deleted the mobile-testing branch July 13, 2021 07:37
@amlannandy amlannandy added android Issues and PR regarding android app GSoC 2021 Tasks related to GSoC 2021 labels Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issues and PR regarding android app GSoC 2021 Tasks related to GSoC 2021
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write missing tests for backend endpoints used by the mobile application
2 participants