arturmkrtchyan / iban4j

A Java library for generation and validation of the International Bank Account Numbers (IBAN ISO_13616) and Business Identifier Codes (BIC ISO_9362).
http://iban4j.org
Apache License 2.0
270 stars 124 forks source link

Change testing model of the random generators so it doesn't get affected by changes in data #127

Open MR-Os1 opened 7 months ago

MR-Os1 commented 7 months ago

right now, library has a limitation in the test cases that makes some tests fail after data added to the supported BBANs or BICs.

either it needs to change the method of testing, so it doesn't have to be tested by the seeds and be tested with like the validation of the generated random IBAN or BIC, or it needs to be seeded randomly by the things that aren't normally changeable such as all parameters in the IBAN except country because it may change in the future and the change shouldn't have an effect on the random test cases.