OpenMRS Core Master
Build: #1554 was successful
Job: Build and Test was successful
Code commits
openmrs-core
-
Ivo Ulrich <teleivo@users.noreply.github.com> 22d97e747655322d2309e0c21b580f4472535550
Merge pull request #2101 from teleivo/alertvalidatortest
Extract setUp and clean AlertValidatorTest -
teleivo <mrteleivo@gmail.com> 58f4e9b08a2f505efe5f741d0ea014c6adb43786
Extract setUp and clean AlertValidatorTest
* add setUp method preparing variables needed for tests to remove
duplication in test setup
* arrange test implementations in a arrange, act, assert style (or what
we often called the given,when,then) so its clear to see whats been
tested and what the outcome should be
* split test that tested null/empty/whitespace of alert text in a
single test as these are independent- api/src/test/java/org/openmrs/validator/AlertValidatorTest.java (version 58f4e9b08a2f505efe5f741d0ea014c6adb43786)