-
Notifications
You must be signed in to change notification settings - Fork 44
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
SVV_TABLE tests #21
base: dev-cvv-columns-test
Are you sure you want to change the base?
SVV_TABLE tests #21
Conversation
f8eff30
to
f6df564
Compare
d373a42
to
e108163
Compare
5661f9c
to
d5e6e7e
Compare
5b69b81
to
f92b063
Compare
32e7f6e
to
8738593
Compare
implementation 'org.testng:testng:7.5' | ||
implementation 'org.slf4j:slf4j-api:2.0.0-alpha5' | ||
implementation 'org.slf4j:slf4j-jdk14:2.0.0-alpha5' | ||
implementation 'com.amazon.redshift:redshift-jdbc42:2.1.0.7' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks to me as if this is only ever used at runtime; shouldn't this be runtimeOnly
instead?
dependencies { | ||
implementation 'org.codehaus.groovy:groovy-all:3.0.10' | ||
implementation 'com.google.guava:guava:31.1-jre' | ||
implementation 'org.testng:testng:7.5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be testImplementation
?
8738593
to
4e7e799
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After addressing the comments (either change or refuse) please request review again.
/** | ||
* @return String or an empty string if null. | ||
*/ | ||
public static String getStringNotNull(String value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: suggest changing the name to "getStringOrEmpty". Same for the other method named getStringNotNull.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it
/** | ||
* @return int or 0 if "". | ||
*/ | ||
public static int getIntNotNull(String value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: suggest "getIntOrZeroFromString"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it
* @param column Database column name. | ||
* @return String or an empty string if null. | ||
*/ | ||
public static String getStringNotNull(ResultSet rs, String column) throws SQLException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is inherited from Danila solition
941ccdd
to
42a0b6e
Compare
1. Added JdbcUtils and methods 2. Added svv_columns.sql for retrieving table's data 3. Added SvvColumnsTest test 4. Removed CsvUtil and methods 5. Added Gradle reporting plugin 6. Setting dumper-integration-tests as a root independent Gradle project 7. Added required EnvVars to build.gradle
42a0b6e
to
663d9db
Compare
1. Test Automation Framework skeleton 2. Gradle config with most likely deps 3. Template Test 4. Logging props 5. Base classes for testing and other utility needs 6. Code style accordingly google-formatter-plugin
1. Added JdbcUtils and methods 2. Added svv_columns.sql for retrieving table's data 3. Added SvvColumnsTest test 4. Added SvvColumnsRow POJO object 5. Added CsvUtil and methods 6. Added Gradle reporting plugin
Added svv_tables.sql for querying data Added SvvTablesTest test
7ab6bdf
to
04d5310
Compare
663d9db
to
03e12df
Compare
Added svv_tables.sql for querying data
Added SvvTablesTest test
Added SvvTablesRow POJO object
Removed unused dependencies