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

Reviewtestcases #20

Merged
merged 14 commits into from Jan 21, 2021
Merged

Reviewtestcases #20

merged 14 commits into from Jan 21, 2021

Conversation

typelogic
Copy link
Contributor

@typelogic typelogic commented Jan 2, 2021

Issue

The current test cases in TestCases.java is difficult to follow because it has become an accumulation of old test cases and new test cases across the changes. Keep these old existing test case, but slowly migrate small chunks of test cases and narrate describe a test case flow.

Changes

  1. Add NarrativeTestCases.java and gradually migrate small chunks of test cases to this file
  2. Improve Card::asQRCode method for scaling, and margin option to prevent Zxing intermittent test case failure when scanning image file due to Zxing default algorithm

@typelogic typelogic requested a review from jeremi January 2, 2021 19:29
src/main/java/org/idpass/lite/Card.java Outdated Show resolved Hide resolved
src/main/java/org/idpass/lite/IDPassReader.java Outdated Show resolved Hide resolved
src/main/java/org/idpass/lite/Card.java Outdated Show resolved Hide resolved
Copy link
Contributor

@jeremi jeremi left a comment

Choose a reason for hiding this comment

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

Please review and apply the changes to all the functions. I'll continue the rest of the test later.

src/test/java/org/idpass/lite/test/NarrativeTestCases.java Outdated Show resolved Hide resolved
src/test/java/org/idpass/lite/test/NarrativeTestCases.java Outdated Show resolved Hide resolved
src/test/java/org/idpass/lite/test/NarrativeTestCases.java Outdated Show resolved Hide resolved
src/test/java/org/idpass/lite/test/NarrativeTestCases.java Outdated Show resolved Hide resolved
src/test/java/org/idpass/lite/test/NarrativeTestCases.java Outdated Show resolved Hide resolved
src/test/java/org/idpass/lite/test/NarrativeTestCases.java Outdated Show resolved Hide resolved
src/test/java/org/idpass/lite/test/NarrativeTestCases.java Outdated Show resolved Hide resolved
@typelogic typelogic merged commit d3cd06b into develop Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants