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

US18: Unit Tests #23

Merged
merged 7 commits into from
Aug 6, 2020
Merged

US18: Unit Tests #23

merged 7 commits into from
Aug 6, 2020

Conversation

frisbm
Copy link
Contributor

@frisbm frisbm commented Jul 13, 2020

Description

Adding unit tests to the CyFHIR Java project to better be able to automate our testing and improve the quality of our code

IMPORTANT
These tests use testcontainers and therefore need to be able to spinup docker containers locally to run. Please make sure you have docker running before running these tests

Tests run with make test in the root of the project

Related US/Task

Resolves #18

Motivation and Context

We needed an actual testing harness to be able to thoroughly verify existing code/algorithms but also for future development

How Has This Been Tested

Testes against our original 'tests' (the swagger docs)

Types of changes

  • Refactoring / dependency upgrade / docs 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 change)
  • Non-functional requirement

Visual screenshots

N/A

@frisbm frisbm added wip Work in Progress non-functional Does not directly impact functionality of plugin testing labels Jul 13, 2020
@frisbm frisbm self-assigned this Jul 13, 2020
@frisbm frisbm added this to In progress in CyFHIR via automation Jul 13, 2020
@frisbm frisbm removed the wip Work in Progress label Aug 6, 2020
@frisbm frisbm requested a review from DMadrid August 6, 2020 01:25
@DMadrid
Copy link
Contributor

DMadrid commented Aug 6, 2020

Tests passing locally

CyFHIR automation moved this from In progress to Reviewer approved Aug 6, 2020
Copy link
Contributor

@DMadrid DMadrid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@frisbm frisbm merged commit a698a56 into master Aug 6, 2020
CyFHIR automation moved this from Reviewer approved to Done Aug 6, 2020
@frisbm frisbm deleted the testing branch August 6, 2020 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-functional Does not directly impact functionality of plugin testing
Projects
No open projects
CyFHIR
  
Done
Development

Successfully merging this pull request may close these issues.

Unit Tests
2 participants