[ https://issues.apache.org/jira/browse/DDLUTILS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mansour Al Akeel updated DDLUTILS-285: -------------------------------------- Attachment: assertion.patch This patch, creates DBAssert class. It doesn't modify existing unit tests. It just prepares to move the instance methods out of TestAgainstLiveDatabaseBase to the static calls of the methods in DBAssert > Improve Unit testing > -------------------- > > Key: DDLUTILS-285 > URL: https://issues.apache.org/jira/browse/DDLUTILS-285 > Project: DdlUtils > Issue Type: Improvement > Components: Core (No specific database) > Affects Versions: 1.0 > Reporter: Mansour Al Akeel > Assignee: Thomas Dudziak > Fix For: 1.1 > > Attachments: assertion.patch > > Original Estimate: 6h > Remaining Estimate: 6h > > Currently Junit test cases extends one class with all the utility methods to > compare object. We can move these methods to another class "DBAssert", and > make them static to avoid relying on the state. > This provided more visibility and readability, and allow to use these methods > from Junit 4, without having to extend exiting classes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)