1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/cmd/gctsExecuteABAPUnitTests.go

13 lines
359 B
Go
Raw Normal View History

package cmd
import (
"github.com/SAP/jenkins-library/pkg/telemetry"
)
func gctsExecuteABAPUnitTests(config gctsExecuteABAPUnitTestsOptions, telemetryData *telemetry.CustomData) {
var qualityChecksConfig gctsExecuteABAPQualityChecksOptions = gctsExecuteABAPQualityChecksOptions(config)
Refactor of gctsExecuteABAPUnitTests (#3338) * Update gctsExecuteABAPUnitTests.yaml * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.yaml * Add commit parameter * Update gctsExecuteABAPUnitTests.yaml * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.yaml * Update gctsExecuteABAPUnitTests.go * Change the commit parameter in Yaml file * Adding scope paramter to gCTSExecuteABAPUnitTest * Adding logs * Adapting checkstyle for success case * write ATC file * add log * time duration * add log * Improve log * Improve unit test * severity error * Fix the xml file for Unit Tests * Editing UnitTest Results for better parsing * Change file name * Add folder * Add path to file * Add src * Add src and object type * Add filename * Add path * Handling success cases * complete refactoring * fix for file path * filname lower case * Add log entry * Delete ATC Results * Change ATC name * Functiongroups * When ATC errors Pipeline fails * Reading a file into chuncks * escape string * Fix for a bug * Unesscape URL * Change from fatal error to error * When unit test fails pipeline fails too * Severity errors * Severity for Unit Test * Fix for successful unit test * Code review * Telemetry was missing * yaml file * generate yaml file * add logs * fix location * do not close body * checkstyle severity * checkstyle * checkstyle2 * atc method * line calculation * global file * method * line * fix * add logs * add log * add logg * unit test error * Code checked and finalized * change commit paramter to optional * Add logs for current local and remote commit * Add logs for object type and name * parse ATC checks error * add log of http response * add log * remove end of function findline * log cleaning * log extra cleaning * cleaning log for unit test * more cleaning * double cleanser for your code * more cleaning * docu checks * file name fix for function group * handle programs-reports * fix a bug * fix regex * fix regex for test class * fix regexos * fix dots * fix a error message in unit tests * calculate dynamically file extension * add log for path * add method name * add method name- * fix repo scope * include table type * Change paramter commitId to commit only * change log output * give more detailed examples * Table Name in get file name * change logs * improve log entries * improve log entries again * final improvements * Delete UnitTestResults * Review * Change text and comments * fix a type in commit paramter * change repository method name * Fix typos in yaml file * Remove empty lines in yaml file * Remove blank lines in the end * Add new line * go generate * Remove tabs Co-authored-by: Martin Bredy <58846699+martin-bredy@users.noreply.github.com> Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-12-15 11:55:53 +02:00
gctsExecuteABAPQualityChecks(qualityChecksConfig, telemetryData)
Refactor of gctsExecuteABAPUnitTests (#3338) * Update gctsExecuteABAPUnitTests.yaml * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.yaml * Add commit parameter * Update gctsExecuteABAPUnitTests.yaml * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.go * Update gctsExecuteABAPUnitTests.yaml * Update gctsExecuteABAPUnitTests.go * Change the commit parameter in Yaml file * Adding scope paramter to gCTSExecuteABAPUnitTest * Adding logs * Adapting checkstyle for success case * write ATC file * add log * time duration * add log * Improve log * Improve unit test * severity error * Fix the xml file for Unit Tests * Editing UnitTest Results for better parsing * Change file name * Add folder * Add path to file * Add src * Add src and object type * Add filename * Add path * Handling success cases * complete refactoring * fix for file path * filname lower case * Add log entry * Delete ATC Results * Change ATC name * Functiongroups * When ATC errors Pipeline fails * Reading a file into chuncks * escape string * Fix for a bug * Unesscape URL * Change from fatal error to error * When unit test fails pipeline fails too * Severity errors * Severity for Unit Test * Fix for successful unit test * Code review * Telemetry was missing * yaml file * generate yaml file * add logs * fix location * do not close body * checkstyle severity * checkstyle * checkstyle2 * atc method * line calculation * global file * method * line * fix * add logs * add log * add logg * unit test error * Code checked and finalized * change commit paramter to optional * Add logs for current local and remote commit * Add logs for object type and name * parse ATC checks error * add log of http response * add log * remove end of function findline * log cleaning * log extra cleaning * cleaning log for unit test * more cleaning * double cleanser for your code * more cleaning * docu checks * file name fix for function group * handle programs-reports * fix a bug * fix regex * fix regex for test class * fix regexos * fix dots * fix a error message in unit tests * calculate dynamically file extension * add log for path * add method name * add method name- * fix repo scope * include table type * Change paramter commitId to commit only * change log output * give more detailed examples * Table Name in get file name * change logs * improve log entries * improve log entries again * final improvements * Delete UnitTestResults * Review * Change text and comments * fix a type in commit paramter * change repository method name * Fix typos in yaml file * Remove empty lines in yaml file * Remove blank lines in the end * Add new line * go generate * Remove tabs Co-authored-by: Martin Bredy <58846699+martin-bredy@users.noreply.github.com> Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-12-15 11:55:53 +02:00
}