Done
Details
Assignee
Craig McNallyCraig McNallyReporter
Craig McNallyCraig McNallyTester Assignee
Craig McNallyCraig McNallyPriority
P3Story Points
1Sprint
NoneDevelopment Team
ThunderjetFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Craig McNally
Craig McNallyReporter
Craig McNally
Craig McNallyTester Assignee
Craig McNally
Craig McNallyPriority
Story Points
1
Sprint
None
Development Team
Thunderjet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 8, 2019 at 6:38 PM
Updated November 5, 2019 at 6:12 AM
Resolved October 9, 2019 at 5:25 PM
Overview
Currently the utils don't provide a way to remove hyphens from a valid ISBN (10 or 13), without also converting them.
The use case is:
Given an ISBN, validate and convert to ISBN 13 w/o hyphens.
if a valid ISBN 10, convert to an ISBN 13 w/o hyphens
if a valid ISBN 13, return the ISBN 13 w/o hyphens
The
convertTo13DigitNumber(String)
function only accepts valid ISBN 10s. Anything else (including a valid ISBN 13) will give younull
.The ability to insert hyphens already exists with the
insertHyphens(String)
method. We should have a correspondingremoveHyphens(String)
method.Acceptance Criteria
the ability to explicitly remove hyphens from either a 10 or 13 digit ISBN has been added
unit tests are updated
a new version of the utils has been released (v1.1.1?)