reposense / RepoSense

Contribution analysis tool for Git repositories
https://reposense.org
MIT License
248 stars 155 forks source link

Unit tests fail on Windows #1365

Closed wltan closed 3 years ago

wltan commented 3 years ago

Tell us about your environment

D:\Workspaces\Git>java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

D:\Workspaces\Git>npm --version
6.13.4

D:\Workspaces\Git>git --version
git version 2.28.0

Please include the steps to reproduce the bug. I was following the setup instructions in the developer guide: https://reposense.org/RepoSense/dg/settingUp.html After cloning the RepoSense repo (I tried both the main repo and my fork), I tried to run gradlew clean build in the project root directory to verify that everything was set up correctly, as stated in the guide.

What was expected to happen? The build should succeed with no failing unit tests, as this is a fresh clone of the repo with no file/code changes yet.

What actually happened? Please include a screenshot of the output. The build fails as some unit tests are failing. Full console output is given below.

D:\Workspaces\Git>git clone https://github.com/reposense/RepoSense
Cloning into 'RepoSense'...
remote: Enumerating objects: 975, done.
remote: Counting objects: 100% (975/975), done.
remote: Compressing objects: 100% (262/262), done.
remote: Total 16340 (delta 837), reused 801 (delta 703), pack-reused 15365
Receiving objects: 100% (16340/16340), 46.64 MiB | 10.79 MiB/s, done.
Resolving deltas: 100% (11158/11158), done.

D:\Workspaces\Git>cd RepoSense

D:\Workspaces\Git\RepoSense>gradlew clean build
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :npmInstall
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

> core-js@2.6.12 postinstall D:\Workspaces\Git\RepoSense\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 996 packages from 623 contributors and audited 997 packages in 48.135s
found 3 vulnerabilities (1 low, 1 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> Task :npmRunSpuild

> reposense@1.0.0 spuild D:\Workspaces\Git\RepoSense
> spuild frontend

frontend/src/favicon.ico
frontend/src/index.pug
frontend/src/ramp.pug
frontend/src/resizer.pug
frontend/src/static/css/_colors.scss
frontend/src/static/css/_utils.scss
frontend/src/static/css/_z-indices.scss
frontend/src/static/css/panels.scss
frontend/src/static/css/style.scss
frontend/src/static/css/v_authorship.scss
frontend/src/static/css/v_ramp.scss
frontend/src/static/css/v_summary.scss
frontend/src/static/css/v_zoom.scss
frontend/src/static/js/api.js
frontend/src/static/js/main.js
frontend/src/static/js/safari_date.js
frontend/src/static/js/store.js
frontend/src/static/js/v_authorship.js
frontend/src/static/js/v_ramp.js
frontend/src/static/js/v_resizer.js
frontend/src/static/js/v_segment.js
frontend/src/static/js/v_summary_charts.js
frontend/src/static/js/v_summary.js
frontend/src/static/js/v_zoom.js
frontend/src/summary_charts.pug
frontend/src/summary.pug
frontend/src/tabs/authorship.pug
frontend/src/tabs/segment.pug
frontend/src/tabs/zoom.pug
.

> Task :npmRunBrowserify

> reposense@1.0.0 browserify D:\Workspaces\Git\RepoSense
> browserify -t vueify -e frontend/src/static/js/v_authorship.js -o frontend/build/static/js/v_authorship.js

> Task :compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :test

reposense.authorship.AnnotatorAnalyzerTest STANDARD_ERROR
    01:48:02 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:05 - Cloning completed!

reposense.authorship.AnnotatorAnalyzerTest > analyzeAnnotation_authorNameNotInConfig_disownCode PASSED

reposense.authorship.AnnotatorAnalyzerTest > analyzeAnnotation_authorNamePresentInConfig_overrideAuthorship PASSED

reposense.authorship.FileAnalyzerTest STANDARD_ERROR
    01:48:05 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:08 - Cloning completed!

reposense.authorship.FileAnalyzerTest > analyzeFile_blameTestFileIgnoreRangedCommitShort_success PASSED

reposense.authorship.FileAnalyzerTest > movedFileBlameTest PASSED

reposense.authorship.FileAnalyzerTest > analyzeFile_blameTestFileIgnoreRangedCommit_success PASSED

reposense.authorship.FileAnalyzerTest > analyzeFile_blameTestFileIgnoreFakeAuthorCommitFullHash_success PASSED

reposense.authorship.FileAnalyzerTest > analyzeFile_shouldIncludeLastModifiedDateInLines_success PASSED

reposense.authorship.FileAnalyzerTest > analyzeFile_blameTestFileIgnoreAllCommit_success PASSED

reposense.authorship.FileAnalyzerTest > movedFileBlameTestDateRange PASSED

reposense.authorship.FileAnalyzerTest > analyzeFile_emailWithAdditionOperator_success PASSED

reposense.authorship.FileAnalyzerTest > blameTest PASSED

reposense.authorship.FileAnalyzerTest > blameTestDateRange PASSED

reposense.authorship.FileInfoExtractorTest STANDARD_ERROR
    01:48:10 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:13 - Cloning completed!

reposense.authorship.FileInfoExtractorTest > getNonBinaryFilesList_directoryWithBinaryFiles_success PASSED

reposense.authorship.FileInfoExtractorTest > extractFileInfos_untilDateBeforeFirstCommit_emptyResult STANDARD_ERROR
    01:48:13 - Extracting relevant file info from https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.authorship.FileInfoExtractorTest > extractFileInfos_untilDateBeforeFirstCommit_emptyResult PASSED

reposense.authorship.FileInfoExtractorTest > getEditedFileInfos_editFileInfoBranchSinceFebrauryEight_success PASSED

reposense.authorship.FileInfoExtractorTest > extractFileInfosTest STANDARD_ERROR
    01:48:14 - Extracting relevant file info from https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.authorship.FileInfoExtractorTest > extractFileInfosTest PASSED

reposense.authorship.FileInfoExtractorTest > extractFileInfos_sinceDateFebrauaryNineToLatestCommit_success STANDARD_ERROR
    01:48:14 - Extracting relevant file info from https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.authorship.FileInfoExtractorTest > extractFileInfos_sinceDateFebrauaryNineToLatestCommit_success PASSED

reposense.authorship.FileInfoExtractorTest > extractFileInfos_directoryWithValidWhitelistedName_success STANDARD_ERROR
    01:48:14 - Extracting relevant file info from https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.authorship.FileInfoExtractorTest > extractFileInfos_directoryWithValidWhitelistedName_success PASSED

reposense.authorship.FileInfoExtractorTest > extractFileInfos_withoutSpecifiedFormats_success STANDARD_ERROR
    01:48:14 - Extracting relevant file info from https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.authorship.FileInfoExtractorTest > extractFileInfos_withoutSpecifiedFormats_success PASSED

reposense.authorship.FileInfoExtractorTest > extractFileInfos_sinceDateAfterLatestCommit_emptyResult STANDARD_ERROR
    01:48:15 - Extracting relevant file info from https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.authorship.FileInfoExtractorTest > extractFileInfos_sinceDateAfterLatestCommit_emptyResult PASSED

reposense.authorship.FileInfoExtractorTest > extractFileInfos_branchWithValidWhitelistedFileName_success STANDARD_ERROR
    01:48:15 - Extracting relevant file info from https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.authorship.FileInfoExtractorTest > extractFileInfos_branchWithValidWhitelistedFileName_success PASSED

reposense.authorship.FileInfoExtractorTest > getEditedFileInfos_editFileInfoBranchSinceFirstCommit_success PASSED

reposense.authorship.FileInfoExtractorTest > generateFileInfo_fileWithoutSpecialCharacters_correctFileInfoGenerated PASSED

reposense.authorship.FileInfoExtractorTest > generateFileInfo_fileWithSpecialCharacters_correctFileInfoGenerated PASSED

reposense.commits.CommitInfoAnalyzerTest STANDARD_ERROR
    01:48:15 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:17 - Cloning completed!

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_duplicateAuthorsDuplicateCommits_success STANDARD_ERROR
    01:48:17 - [WARNING] Duplicate alias eugenepeh found. The alias will belong to the last author - eugenepeh
    01:48:17 - [WARNING] Duplicate alias eugenepeh@users.noreply.github.com found. The alias will belong to the last author - eugenepeh
    01:48:18 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:18 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_duplicateAuthorsDuplicateCommits_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:154

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_commitsWithBinaryFileContribution_success STANDARD_ERROR
    01:48:18 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (1192-CommitInfoAnalyzerTest-analyzeCommits_commitsWithBinaryContribution_success)...
    01:48:18 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (1192-CommitInfoAnalyzerTest-analyzeCommits_commitsWithBinaryContribution_success)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_commitsWithBinaryFileContribution_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:288

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_fakeMainAuthorNoIgnoredCommitsNoDateRange_success STANDARD_ERROR
    01:48:18 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:18 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_fakeMainAuthorNoIgnoredCommitsNoDateRange_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:63

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_emptyCommits_success STANDARD_ERROR
    01:48:18 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (1019-CommitInfoAnalyzerTest-emptyCommits)...
    01:48:18 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (1019-CommitInfoAnalyzerTest-emptyCommits)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_emptyCommits_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:267

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_multipleCommitsWithCommitMessageBody_success STANDARD_ERROR
    01:48:18 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (751-CommitInfoAnalyzerTest-analyzeCommits_multipleCommitsWithCommitMessageBody_success)...
    01:48:18 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (751-CommitInfoAnalyzerTest-analyzeCommits_multipleCommitsWithCommitMessageBody_success)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_multipleCommitsWithCommitMessageBody_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:187

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_allAuthorSingleCommitIgnoredNoDateRange_success STANDARD_ERROR    01:48:19 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:19 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:19 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_allAuthorSingleCommitIgnoredNoDateRange_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:90

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_eugeneAuthorNoIgnoredCommitsNoDateRange_success STANDARD_ERROR    01:48:19 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:19 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_eugeneAuthorNoIgnoredCommitsNoDateRange_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:73

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_noCommitMessage_success STANDARD_ERROR
    01:48:19 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (empty-commit-message)...
    01:48:19 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (empty-commit-message)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_noCommitMessage_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:121

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_commitsWithEmptyCommitMessageTitleOrBody_success STANDARD_ERROR
    01:48:19 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (751-CommitInfoAnalyzerTest-analyzeCommits_commitsWithEmptyCommitMessageTitleOrBody_success)...
    01:48:19 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (751-CommitInfoAnalyzerTest-analyzeCommits_commitsWithEmptyCommitMessageTitleOrBody_success)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_commitsWithEmptyCommitMessageTitleOrBody_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:218

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_allAuthorNoIgnoredCommitsNoDateRange_success STANDARD_ERROR
    01:48:19 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:19 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_allAuthorNoIgnoredCommitsNoDateRange_success PASSED

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_emailWithAdditionOperator_success STANDARD_ERROR
    01:48:20 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (617-FileAnalyzerTest-analyzeFile_emailWithAdditionOperator_success)...
    01:48:20 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (617-FileAnalyzerTest-analyzeFile_emailWithAdditionOperator_success)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_emailWithAdditionOperator_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:133

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_allAuthorMultipleCommitIgnoredNoDateRange_success STANDARD_ERROR
    01:48:20 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:20 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...
    01:48:20 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_allAuthorMultipleCommitIgnoredNoDateRange_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:108

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_fileNameWithSpecialChars_success SKIPPED

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_commitsWithMultipleTags_success STANDARD_ERROR
    01:48:20 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (879-CommitInfoAnalyzerTest-analyzeCommits_commitsWithMultipleTags_success)...
    01:48:20 - Analyzing commits info for https://github.com/reposense/testrepo-Alpha.git (879-CommitInfoAnalyzerTest-analyzeCommits_commitsWithMultipleTags_success)...

reposense.commits.CommitInfoAnalyzerTest > analyzeCommits_commitsWithMultipleTags_success FAILED
    java.lang.AssertionError at CommitInfoAnalyzerTest.java:247

reposense.commits.CommitInfoExtractorTest STANDARD_ERROR
    01:48:20 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:22 - Cloning completed!

reposense.commits.CommitInfoExtractorTest > withoutContentTest STANDARD_ERROR
    01:48:22 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoExtractorTest > withoutContentTest PASSED

reposense.commits.CommitInfoExtractorTest > withContentTest STANDARD_ERROR
    01:48:23 - Extracting commits info for https://github.com/reposense/testrepo-Alpha.git (master)...

reposense.commits.CommitInfoExtractorTest > withContentTest FAILED
    java.lang.AssertionError at CommitInfoExtractorTest.java:19

reposense.git.GitBlameTest STANDARD_ERROR
    01:48:23 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:25 - Cloning completed!

reposense.git.GitBlameTest > blameRaw_nonExistentFile_throwsRunTimeException PASSED

reposense.git.GitBlameTest > blameRaw_validFile_success PASSED

reposense.git.GitBranchTest STANDARD_ERROR
    01:48:25 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:29 - Cloning completed!

reposense.git.GitBranchTest > getCurrentBranch_masterBranch_success PASSED

reposense.git.GitBranchTest > getCurrentBranch_uncommonDefaultBranch_success STANDARD_ERROR
    01:48:29 - Cloning from https://github.com/reposense/testrepo-UncommonDefaultBranch.git...
    01:48:30 - Cloning completed!

reposense.git.GitBranchTest > getCurrentBranch_uncommonDefaultBranch_success PASSED

reposense.git.GitCheckoutTest STANDARD_ERROR
    01:48:30 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:32 - Cloning completed!

reposense.git.GitCheckoutTest > checkoutHashTest PASSED

reposense.git.GitCheckoutTest > checkout_validBranch_success PASSED

reposense.git.GitCheckoutTest > checkoutToDate_invalidDate_throwsEmptyCommitException PASSED

reposense.git.GitCheckoutTest > checkoutBranchTest PASSED

reposense.git.GitCheckoutTest > checkoutToDate_validDate_success PASSED

reposense.git.GitCloneTest STANDARD_ERROR
    01:48:33 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:35 - Cloning completed!

reposense.git.GitCloneTest > cloneTest_validRepo_success PASSED

reposense.git.GitDiffTest STANDARD_ERROR
    01:48:35 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:40 - Cloning completed!

reposense.git.GitDiffTest > diffCommit_commitContainingSubmodule_ignoresSubmodule PASSED

reposense.git.GitDiffTest > diffCommit_emptyCommitHash_emptyResult PASSED

reposense.git.GitDiffTest > diffCommit_latestCommitHash_emptyResult PASSED

reposense.git.GitDiffTest > diffCommit_nonexistentCommitHash_throwsRunTimeException PASSED

reposense.git.GitDiffTest > diffCommit_validCommitHash_success PASSED

reposense.git.GitLogTest STANDARD_ERROR
    01:48:41 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:43 - Cloning completed!

reposense.git.GitLogTest > gitLog_existingFormats_hasContent FAILED
    java.lang.AssertionError at GitLogTest.java:20

reposense.git.GitLogTest > gitLog_fakeAuthorNameWithSpecialCharacter_success FAILED
    java.lang.AssertionError at GitLogTest.java:58

reposense.git.GitLogTest > gitLog_emailWithAdditionOperator_success FAILED
    java.lang.AssertionError at GitLogTest.java:161

reposense.git.GitLogTest > gitLog_validIgnoreGlobs_success FAILED
    java.lang.AssertionError at GitLogTest.java:87

reposense.git.GitLogTest > gitLog_untilDateBeforeAnyCommit_noContent PASSED

reposense.git.GitLogTest > gitLog_invalidIgnoreGlobs_filtered STANDARD_ERROR
    01:48:44 - [WARNING] ../testrepo-Alpha will be skipped as this glob points to the outside of the repository.

reposense.git.GitLogTest > gitLog_invalidIgnoreGlobs_filtered FAILED
    java.lang.AssertionError at GitLogTest.java:112

reposense.git.GitLogTest > gitLog_fakeAuthorNameOnly_success FAILED
    java.lang.AssertionError at GitLogTest.java:42

reposense.git.GitLogTest > gitLog_authorNameIncorrectCase_success FAILED
    java.lang.AssertionError at GitLogTest.java:50

reposense.git.GitLogTest > gitLog_authorIgnoreAllJavaFiles_success PASSED

reposense.git.GitLogTest > gitLog_authorWithAllCharactersRegexAlias_emptyResult PASSED

reposense.git.GitLogTest > gitLog_sinceDateInFuture_noContent PASSED

reposense.git.GitLogTest > gitLog_includeAllJavaFiles_success FAILED
    java.lang.AssertionError at GitLogTest.java:34

reposense.git.GitLogTest > gitLog_nonExistingFormats_noContent PASSED

reposense.git.GitLogTest > gitLog_includeAllJavaFilesAuthorIgnoreMovedFile_success FAILED
    java.lang.AssertionError at GitLogTest.java:68

reposense.git.GitLsTreeTest STANDARD_ERROR
    01:48:45 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:47 - Cloning completed!

reposense.git.GitLsTreeTest > isValidWindowsFilename_validFilenames_success PASSED

reposense.git.GitLsTreeTest > repo_validFilePaths_success PASSED

reposense.git.GitLsTreeTest > windows_cloneInvalidWindowsFilePaths_throwsInvalidFilePathException STANDARD_ERROR
    01:48:51 - [ERROR] Invalid filepath: 'data\\storage/items.txt' contains '\'

reposense.git.GitLsTreeTest > windows_cloneInvalidWindowsFilePaths_throwsInvalidFilePathException PASSED

reposense.git.GitLsTreeTest > isValidWindowsFilename_illegalFileNames_fail STANDARD_ERROR
    01:48:51 - [ERROR] Invalid filepath: 'com1.txt' contains 'com1'
    01:48:51 - [ERROR] Invalid filepath: 'folder/com1.txt' contains 'com1'
    01:48:51 - [ERROR] Invalid filepath: 'folder/com1/file.txt' contains 'com1'
    01:48:51 - [ERROR] Invalid filepath: 'nul' contains 'nul'
    01:48:51 - [ERROR] Invalid filepath: 'fi\le.txt' contains '\'
    01:48:51 - [ERROR] Invalid filepath: '"file".txt' contains '"'
    01:48:51 - [ERROR] Invalid filepath: 'file.txt.' contains '.'
    01:48:51 - [ERROR] Invalid filepath: 'folder./file.txt' contains '.'
    01:48:51 - [ERROR] Invalid filepath: 'file.txt ' contains ' '
    01:48:51 - [ERROR] Invalid filepath: 'folder /file.txt' contains ' '

reposense.git.GitLsTreeTest > isValidWindowsFilename_illegalFileNames_fail PASSED

reposense.git.GitLsTreeTest > unix_cloneInvalidWindowsFilePaths_success SKIPPED

reposense.git.GitRevListTest STANDARD_ERROR
    01:48:51 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:54 - Cloning completed!

reposense.git.GitRevListTest > getCommitHashInRange_nullStartHash_success PASSED

reposense.git.GitRevListTest > getCommitHashInRange_invalidStartAndEndHash_emptyResult PASSED

reposense.git.GitRevListTest > getCommitHashInRange_nullStartAndEndHash_emptyResult PASSED

reposense.git.GitRevListTest > getCommitHashInRange_invalidEndHash_success PASSED

reposense.git.GitRevListTest > getCommitHashBeforeDate_invalidBranch_throwsRunTimeException PASSED

reposense.git.GitRevListTest > getCommitHashInRange_nullEndHash_success PASSED

reposense.git.GitRevListTest > getCommitHashBeforeDate_beforeInitialCommitDate_emptyResult PASSED

reposense.git.GitRevListTest > getCommitHashBeforeDate_februaryNineDate_success PASSED

reposense.git.GitRevListTest > getCommitHashBeforeDate_nullDate_emptyResult PASSED

reposense.git.GitRevListTest > getCommitHashInRange_invalidStartHash_success PASSED

reposense.git.GitRevListTest > getCommitHashBeforeDate_afterLatestCommitDate_success PASSED

reposense.git.GitRevListTest > getCommitHashInRange_sameStartAndEndHash_success PASSED

reposense.git.GitRevParseTest STANDARD_ERROR
    01:48:55 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:48:58 - Cloning completed!

reposense.git.GitRevParseTest > assertBranchExists_withNonExistentBranch_throwsGitBranchException PASSED

reposense.git.GitRevParseTest > assertBranchExists_withExistingBranch_success PASSED

reposense.git.GitShortlogTest STANDARD_ERROR
    01:48:58 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:49:00 - Cloning completed!

reposense.git.GitShortlogTest > getAuthors_validRepoDateRange_success PASSED

reposense.git.GitShortlogTest > getAuthors_validRepoNoDateRange_success PASSED

reposense.git.GitShortlogTest > getAuthors_validRepoDateOutOfRange_success PASSED

reposense.git.GitUtilTest STANDARD_ERROR
    01:49:01 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:49:03 - Cloning completed!

reposense.git.GitUtilTest > gitUtil_convertToGitExcludeGlobArgs_success STANDARD_ERROR
    01:49:03 - [WARNING] ../** will be skipped as this glob points to the outside of the repository.
    01:49:03 - [WARNING] \** cannot start with / or \.
    01:49:03 - [WARNING] /newPos/* cannot start with / or \.

reposense.git.GitUtilTest > gitUtil_convertToGitExcludeGlobArgs_success PASSED

reposense.model.AuthorTest > setIgnoreGlobList_quoteInGlobPattern_throwIllegalArgumentException PASSED

reposense.model.AuthorTest > setIgnoreGlobList_semicolonInGlobPattern_throwIllegalArgumentException PASSED

reposense.model.AuthorTest > appendIgnoreGlobList_appendOrOperator_throwIllegalArgumentException PASSED

reposense.model.AuthorTest > appendIgnoreGlobList_validGlobRegex_success PASSED

reposense.model.AuthorTest > setEmail_validEmails_success PASSED

reposense.model.AuthorTest > setIgnoreGlobList_validGlobRegex_success PASSED

reposense.model.AuthorTest > setEmail_invalidEmails_throwIllegalArgumentException PASSED

reposense.model.CommitHashTest > validateCommits_invalidAlphabet_throwIllegalArgumentException PASSED

reposense.model.CommitHashTest > validateCommits_nonAlphanumeric_throwIllegalArgumentException PASSED

reposense.model.CommitHashTest > validateCommits_validHash_success PASSED

reposense.model.FileTypeManagerTest > isInsideFormatsWhiteList_notWhitelistedFormat_success PASSED

reposense.model.FileTypeManagerTest > isInsideFormatsWhiteList_whitelistedFormat_success PASSED

reposense.model.FileTypeManagerTest > getFileType_noCustomGroups_returnsCorrectFormat PASSED

reposense.model.FileTypeManagerTest > getFileType_withCustomGroups_getsCorrectGroupLabel PASSED

reposense.model.FileTypeTest > isFileGlobMatching_nonMatchingFormat_success PASSED

reposense.model.FileTypeTest > validateFileTypeLabel_emptyLabel_throwsIllegalArgumentException PASSED

reposense.model.FileTypeTest > validateFileFormat_specialCharacters_throwsIllegalArgumentException PASSED

reposense.model.FileTypeTest > isFileGlobMatching_nonMatchingGroup_success PASSED

reposense.model.FileTypeTest > validateFileFormat_isAlphaNumeric_success PASSED

reposense.model.FileTypeTest > validateFileTypeLabel_validLabel_success PASSED

reposense.model.FileTypeTest > isFileGlobMatching_matchingFormat_success PASSED

reposense.model.FileTypeTest > isFileGlobMatching_matchingGroup_success PASSED

reposense.model.RepoConfigurationTest STANDARD_ERROR
    01:49:03 - [WARNING] Duplicate alias Ahmad Syafiq found. The alias will belong to the last author - lithiumlkid
    01:49:03 - [WARNING] Duplicate alias Tianwei found. The alias will belong to the last author - lohtianwei
    01:49:03 - [WARNING] Duplicate alias lithiumlkid@users.noreply.github.com found. The alias will belong to the last author - lithiumlkid
    01:49:03 - [WARNING] Duplicate alias codeeong@users.noreply.github.com found. The alias will belong to the last author - codeeong
    01:49:03 - [WARNING] Duplicate alias jordancjq@users.noreply.github.com found. The alias will belong to the last author - jordancjq
    01:49:03 - [WARNING] Duplicate alias lohtianwei@users.noreply.github.com found. The alias will belong to the last author - lohtianwei

reposense.model.RepoConfigurationTest > repoConfig_withoutIgnoreStandaloneConfigInCli_useCsv STANDARD_ERROR
    01:49:03 - Log folder has been successfully created
    01:49:03 - Cloning from https://github.com/reposense/testrepo-Beta.git...
    01:49:08 - Cloning completed!
    01:49:09 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:49:18 - Cloning completed!
    01:49:18 - Ignoring standalone config file in https://github.com/reposense/testrepo-Beta.git (master).

reposense.model.RepoConfigurationTest > repoConfig_withoutIgnoreStandaloneConfigInCli_useCsv PASSED

reposense.model.RepoConfigurationTest > repoConfig_minimalStandaloneConfig_fieldsAssignedDefaultValues STANDARD_ERROR
    01:49:18 - Cloning from https://github.com/reposense/testrepo-minimalstandaloneconfig.git...
    01:49:19 - Cloning completed!

reposense.model.RepoConfigurationTest > repoConfig_minimalStandaloneConfig_fieldsAssignedDefaultValues PASSED

reposense.model.RepoConfigurationTest > repoConfig_withoutFormats_useCliFormats PASSED

reposense.model.RepoConfigurationTest > repoConfig_overrideStandaloneConfig_success STANDARD_ERROR
    01:49:19 - [WARNING] Ignoring unknown value no in ignore standalone config column.
    01:49:19 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:49:31 - Cloning completed!

reposense.model.RepoConfigurationTest > repoConfig_overrideStandaloneConfig_success PASSED

reposense.model.RepoConfigurationTest > repoConfig_wrongKeywordUseStandaloneConfig_success STANDARD_ERROR
    01:49:31 - [WARNING] Ignoring unknown value yesss in ignore standalone config column.
    01:49:31 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:49:38 - Cloning completed!

reposense.model.RepoConfigurationTest > repoConfig_wrongKeywordUseStandaloneConfig_success PASSED

reposense.model.RepoConfigurationTest > repoConfig_withFormats_ignoreCliFormats PASSED

reposense.model.RepoConfigurationTest > repoConfig_withCustomGroups_useCustomGroups PASSED

reposense.model.RepoConfigurationTest > repoConfig_removeIgnoredAuthors_success STANDARD_ERROR
    01:49:38 - [WARNING] Duplicate alias Ahmad Syafiq found. The alias will belong to the last author - lithiumlkid
    01:49:38 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:49:46 - Cloning completed!
    01:49:46 - Ignoring standalone config file in https://github.com/reposense/testrepo-Delta.git (master).

reposense.model.RepoConfigurationTest > repoConfig_removeIgnoredAuthors_success PASSED

reposense.model.RepoConfigurationTest > repoConfig_ignoresStandaloneConfigInCli_success STANDARD_ERROR
    01:49:46 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:50:00 - Cloning completed!
    01:50:00 - Ignoring standalone config file in https://github.com/reposense/testrepo-Delta.git (master).

reposense.model.RepoConfigurationTest > repoConfig_ignoresStandaloneConfigInCli_success PASSED

reposense.model.RepoConfigurationTest > repoConfig_emptyLocationDifferentBranch_equal PASSED

reposense.model.RepoConfigurationTest > repoConfig_withoutFormatsAndCliFormats_useAllFormats PASSED

reposense.model.RepoConfigurationTest > repoConfig_usesStandaloneConfig_success STANDARD_ERROR
    01:50:00 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:50:11 - Cloning completed!

reposense.model.RepoConfigurationTest > repoConfig_usesStandaloneConfig_success PASSED

reposense.model.RepoConfigurationTest > repoConfig_ignoresStandaloneConfig_success STANDARD_ERROR
    01:50:12 - [WARNING] Duplicate alias Ahmad Syafiq found. The alias will belong to the last author - lithiumlkid
    01:50:12 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:50:23 - Cloning completed!
    01:50:23 - Ignoring standalone config file in https://github.com/reposense/testrepo-Delta.git (master).

reposense.model.RepoConfigurationTest > repoConfig_ignoresStandaloneConfig_success PASSED

reposense.model.RepoConfigurationTest > repoConfig_sameLocationDifferentBranch_notEqual PASSED

reposense.model.RepoConfigurationTest > repoConfig_ignoreStandaloneConfigInCli_overrideCsv STANDARD_ERROR
    01:50:23 - Cloning from https://github.com/reposense/testrepo-Beta.git...
    01:50:29 - Cloning completed!
    01:50:30 - Cloning from https://github.com/reposense/testrepo-Delta.git...
    01:50:39 - Cloning completed!
    01:50:39 - Ignoring standalone config file in https://github.com/reposense/testrepo-Beta.git (master).
    01:50:39 - Ignoring standalone config file in https://github.com/reposense/testrepo-Delta.git (master).

reposense.model.RepoConfigurationTest > repoConfig_ignoreStandaloneConfigInCli_overrideCsv PASSED

reposense.model.StandaloneConfigTest STANDARD_ERROR
    01:50:39 - Cloning from https://github.com/reposense/testrepo-Alpha.git...
    01:50:41 - Cloning completed!

reposense.model.StandaloneConfigTest > standaloneConfig_invalidIgnoreCommit_throwIllegalArgumentException PASSED

reposense.model.StandaloneConfigTest > standaloneConfig_invalidIgnoreGlob_throwIllegalArgumentException PASSED

reposense.model.StandaloneConfigTest > standaloneConfig_trailingCommasInMaps_throwsJsonSyntaxException PASSED

reposense.model.StandaloneConfigTest > standaloneConfig_trailingCommasInList_success PASSED

reposense.model.StandaloneConfigTest > standaloneConfig_invalidFormats_throwIllegalArgumentException PASSED

reposense.model.StandaloneConfigTest > standaloneConfig_specialCharacterAuthor_success STANDARD_ERROR
    01:50:41 - [WARNING] Duplicate alias æProcessed?æCooked? found. The alias will belong to the last author - æProcessed?æCooked?
    01:50:41 - [WARNING] Duplicate alias (codeeong) found. The alias will belong to the last author - (codeeong)
    01:50:41 - [WARNING] Duplicate alias ^:jordancjq;$ found. The alias will belong to the last author - ^:jordancjq;$

reposense.model.StandaloneConfigTest > standaloneConfig_specialCharacterAuthor_success PASSED

reposense.model.StandaloneConfigTest > standaloneConfig_validJson_success PASSED

reposense.parser.ArgsParserTest > period_inWeeksWithUntilDate_success PASSED

reposense.parser.ArgsParserTest > untilDate_correctFormat_success PASSED

reposense.parser.ArgsParserTest > sinceDate_laterThanUntilDate_throwsParseException PASSED

reposense.parser.ArgsParserTest > relativeConfigFolder_withoutRequiredConfigFiles_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_allCorrectInputs_success STANDARD_ERROR
    01:50:41 - Log folder has been successfully created

reposense.parser.ArgsParserTest > parse_allCorrectInputs_success PASSED

reposense.parser.ArgsParserTest > period_inDaysWithSinceDate_success PASSED

reposense.parser.ArgsParserTest > emptyArgs_defaultConfigFolderPath PASSED

reposense.parser.ArgsParserTest > sinceDate_unsupportedFormats_throwsParseException PASSED

reposense.parser.ArgsParserTest > outputPath_nonExistentDirectory_success STANDARD_ERROR
    01:50:41 - Log folder has been successfully created

reposense.parser.ArgsParserTest > outputPath_nonExistentDirectory_success PASSED

reposense.parser.ArgsParserTest > parse_mutuallyExclusiveArgumentsConfigAndReposTogether_throwsParseException PASSED

reposense.parser.ArgsParserTest > untilDate_withExtraTime_success PASSED

reposense.parser.ArgsParserTest > parse_configFolderAndViewWithArgs_returnsConfigCliArguments STANDARD_ERROR
    01:50:41 - Ignoring argument 'D:\Workspaces\Git\RepoSense\build\resources\test\output' for --view.

reposense.parser.ArgsParserTest > parse_configFolderAndViewWithArgs_returnsConfigCliArguments PASSED

reposense.parser.ArgsParserTest > parse_configCsvFileAsConfigFolder_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_timezoneWithoutArgument_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_viewWithArgCwd_returnsViewCliArguments PASSED

reposense.parser.ArgsParserTest > parse_configFolderOnly_success PASSED

reposense.parser.ArgsParserTest > parse_configOrLocationsSimilar_success STANDARD_ERROR
    01:50:41 - [WARNING] No valid configurations in the author-config.csv.

reposense.parser.ArgsParserTest > parse_configOrLocationsSimilar_success PASSED

reposense.parser.ArgsParserTest > parse_repoLocationsAndView_returnsLocationCliArguments PASSED

reposense.parser.ArgsParserTest > parse_notExistsConfigFolder_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_help_throwsHelpScreenException STANDARD_OUT
    usage: java -jar RepoSense.jar [--help] [--version]
                                   [--ignore-standalone-config]
                                   [--last-modified-date] [--view [PATH]]
                                   [--output PATH] [--assets PATH]
                                   [--since dd/MM/yyyy] [--until dd/MM/yyyy]
                                   [--period PERIOD]
                                   [--formats [FORMAT [FORMAT ...]]]
                                   [--timezone ZONE_ID[▒hh[mm]]] [--config PATH
                                   | --repo LOCATION [LOCATION ...]]

    RepoSense is a contribution analysis tool for Git repositories.

    named arguments:
      --help, -h             Show help message.
      --version, -V          Show the version of RepoSense.
      --ignore-standalone-config, -i
                             A flag to  ignore  the  standalone  config file in
                             the repo.
      --last-modified-date, -l
                             A flag to keep track of  the last modified date of
                             each line of code.
      --view [PATH], -v [PATH]
                             Starts a  server  to  display  the  report  in the
                             provided directory. If  used  as  a  flag (with no
                             argument), generates  a  report  and automatically
                             displays the report.
      --output PATH, -o PATH
                             The  directory  to   output   the  report  folder,
                             reposense-report.  If  not  provided,  the  report
                             folder will  be  created  in  the  current working
                             directory.
      --assets PATH, -a PATH
                             The directory to place  assets  files to customize
                             report generation.  If  not  provided,  the assets
                             folder in the  current  working  directory will be
                             used.
      --since dd/MM/yyyy, -s dd/MM/yyyy
                             The date to start filtering.
      --until dd/MM/yyyy, -u dd/MM/yyyy
                             The date to stop filtering.
      --period PERIOD, -p PERIOD
                             The number of days of the filtering window.
      --formats [FORMAT [FORMAT ...]], -f [FORMAT [FORMAT ...]]
                             The alphanumeric file formats to process.
                             If not  provided,  default  file  formats  will be
                             used.
                             Please refer to userguide for more information.
      --timezone ZONE_ID[▒hh[mm]], -t ZONE_ID[▒hh[mm]]
                             The timezone to use for  the generated report. One
                             kind of valid timezones  is  relative to UTC. E.g.
                             UTC, UTC+08, UTC-1030.
                             If not provided, system  default  timezone will be
                             used.

    mutual exclusive arguments:
      --config PATH, -c PATH
                             The directory containing  the  config files.If not
                             provided, the config files  will  be obtained from
                             the config folder.
      --repo LOCATION [LOCATION ...], --repos LOCATION [LOCATION ...], -r LOCATION [LOCATION ...]
                             The  GitHub  URL  or   disk   locations  to  clone
                             repository.

reposense.parser.ArgsParserTest > parse_help_throwsHelpScreenException PASSED

reposense.parser.ArgsParserTest > parse_incorrectTimezone_throwsParseException PASSED

reposense.parser.ArgsParserTest > period_withBothSinceDateAndUntilDate_throwsParseException PASSED

reposense.parser.ArgsParserTest > sinceDate_withExtraDate_success PASSED

reposense.parser.ArgsParserTest > formats_inAlphanumeric_success PASSED

reposense.parser.ArgsParserTest > parse_repoLocationsAndViewWithArgs_returnsLocationsCliArguments STANDARD_ERROR
    01:50:42 - Ignoring argument 'D:\Workspaces\Git\RepoSense\build\resources\test\output' for --view.

reposense.parser.ArgsParserTest > parse_repoLocationsAndViewWithArgs_returnsLocationsCliArguments PASSED

reposense.parser.ArgsParserTest > parse_withExtraWhitespaces_success PASSED

reposense.parser.ArgsParserTest > parse_repoAliases_sameResult PASSED

reposense.parser.ArgsParserTest > parse_withTimezone_success PASSED

reposense.parser.ArgsParserTest > parse_missingConfigValue_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_viewOnly_success PASSED

reposense.parser.ArgsParserTest > absoluteConfigFolder_withoutRequiredConfigFiles_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_noValidRepoLocation_throwsParseException STANDARD_ERROR
    01:50:42 - [WARNING] https://githubaaaa.com/asdasdasdasd/RepoSense is an invalid location.

reposense.parser.ArgsParserTest > parse_noValidRepoLocation_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_allCorrectInputsAlias_success PASSED

reposense.parser.ArgsParserTest > period_notNumeric_throwsParseExcpetion PASSED

reposense.parser.ArgsParserTest > parse_extraArgumentForIgnore_throwsParseException PASSED

reposense.parser.ArgsParserTest > untilDate_unsupportedFormats_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_configFolderAndOutputDirectory_success PASSED

reposense.parser.ArgsParserTest > parse_validGitRepoLocations_repoConfigurationListCorrectSize PASSED

reposense.parser.ArgsParserTest > sinceDate_correctFormat_success PASSED

reposense.parser.ArgsParserTest > parse_withDatesAndTimezone_success PASSED

reposense.parser.ArgsParserTest > formats_notInAlphanumeric_throwsParseException PASSED

reposense.parser.ArgsParserTest > parse_withoutIgnore_success PASSED

reposense.parser.ArgsParserTest > parse_repoLocationsOnly_success PASSED

reposense.parser.ArgsParserTest > parse_viewOnlyWithoutArgs_returnsConfigCliArguments PASSED

reposense.parser.ArgsParserTest > parse_withIgnore_success PASSED

reposense.parser.ArgsParserTest > parse_configFolderAndViewWithouthArgs_returnsConfigCliArguments PASSED

reposense.parser.ArgsParserTest > period_isZero_throwsParseExcpetion PASSED

reposense.parser.AuthorConfigParserTest > parse_multipleColumnsWithCommasAndDoubleQuotes_success PASSED

reposense.parser.AuthorConfigParserTest > authorConfig_emptyConfig_throwsInvalidCsvException PASSED

reposense.parser.AuthorConfigParserTest > authorConfig_noSpecialCharacter_success PASSED

reposense.parser.AuthorConfigParserTest > authorConfig_invalidLocation_success STANDARD_ERROR
    01:50:42 - [WARNING] Duplicate alias emer7 found. The alias will belong to the last author - emer7
    01:50:42 - [WARNING] Error parsing line 3 in CSV file, authorconfig_invalidLocation_test.csv.
    Content: https://github.com/parseexception/invalid.location,master,eugenepeh,,Eugene Peh,Eugene Peh,
    Error: https://github.com/parseexception/invalid.location is an invalid location.
    01:50:42 - [WARNING] Duplicate alias ongspxm found. The alias will belong to the last author - ongspxm

reposense.parser.AuthorConfigParserTest > authorConfig_invalidLocation_success PASSED

reposense.parser.AuthorConfigParserTest > authorConfig_emptyLocation_success PASSED

reposense.parser.AuthorConfigParserTest > authorConfig_multipleEmails_success PASSED

reposense.parser.AuthorConfigParserTest > authorConfig_specialCharacter_success PASSED

reposense.parser.AuthorConfigParserTest > authorConfig_invalidHeaderSize_throwsInvalidCsvException PASSED

reposense.parser.GroupConfigParserTest > groupConfig_emptyLocation_success PASSED

reposense.parser.GroupConfigParserTest > groupConfig_invalidHeaderSize_throwsInvalidCsvException PASSED

reposense.parser.GroupConfigParserTest > groupConfig_invalidLocation_success STANDARD_ERROR
    01:50:42 - [WARNING] Error parsing line 3 in CSV file, groupconfig_invalidLocation_test.csv.
    Content: https://github.com/someCoy/invalidlocation,Main,**/*.py
    Error: https://github.com/someCoy/invalidlocation is an invalid location.

reposense.parser.GroupConfigParserTest > groupConfig_invalidLocation_success PASSED

reposense.parser.GroupConfigParserTest > groupConfig_multipleLocations_success PASSED

reposense.parser.RepoConfigParserTest > repoConfig_overrideKeyword_success STANDARD_ERROR
    01:50:42 - [WARNING] Ignoring unknown value no in ignore standalone config column.

reposense.parser.RepoConfigParserTest > repoConfig_overrideKeyword_success PASSED

reposense.parser.RepoConfigParserTest > repoConfig_invalidHeaderSize_throwsInvalidCsvException PASSED

reposense.parser.RepoConfigParserTest > repoConfig_redundantLines_success STANDARD_ERROR
    01:50:42 - [WARNING] Line 7 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 8 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 11 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 12 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 13 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 14 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 15 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 16 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 17 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 18 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]
    01:50:42 - [WARNING] Line 19 in CSV file, repoconfig_redundantLines_test.csv, is malformed.
    Content: [EMPTY LINE]

reposense.parser.RepoConfigParserTest > repoConfig_redundantLines_success PASSED

reposense.parser.RepoConfigParserTest > merge_twoRepoConfigs_success STANDARD_ERROR
    01:50:42 - [WARNING] Duplicate alias Zachary Tang found. The alias will belong to the last author - zacharytang
    01:50:42 - [WARNING] Duplicate alias Zachary Tang found. The alias will belong to the last author - zacharytang

reposense.parser.RepoConfigParserTest > merge_twoRepoConfigs_success PASSED

reposense.parser.RepoConfigParserTest > repoConfig_defaultBranch_success PASSED

reposense.parser.RepoConfigParserTest > repoConfig_noSpecialCharacter_success PASSED

reposense.parser.RepoConfigParserTest > merge_emptyLocation_success STANDARD_ERROR
    01:50:42 - [WARNING] Duplicate alias Zachary Tang found. The alias will belong to the last author - zacharytang

reposense.parser.RepoConfigParserTest > merge_emptyLocation_success PASSED

reposense.parser.RepoConfigParserTest > repoConfig_zeroValidRecords_throwsInvalidCsvException PASSED

reposense.parser.ReportConfigJsonParserTest > reportConfig_parseInvalidJsonFile_getDefaultTitle PASSED

reposense.parser.ReportConfigJsonParserTest > reportConfig_parseValidJsonFile_getCustomTitle PASSED

reposense.parser.ReportConfigJsonParserTest > reportConfig_parseEmptyJsonFile_getDefaultTitle PASSED

reposense.parser.StandaloneConfigJsonParserTest STANDARD_ERROR
    01:50:42 - [WARNING] Duplicate alias yong24s@users.noreply.github.com found. The alias will belong to the last author - yong24s
    01:50:42 - [WARNING] Duplicate alias yong24s found. The alias will belong to the last author - yong24s
    01:50:42 - [WARNING] Duplicate alias Yong Hao TENG found. The alias will belong to the last author - yong24s
    01:50:42 - [WARNING] Duplicate alias yong24s@users.noreply.github.com found. The alias will belong to the last author - yong24s

reposense.parser.StandaloneConfigJsonParserTest > standaloneConfig_ignoresUnknownProperty_success PASSED

reposense.parser.StandaloneConfigJsonParserTest > standaloneConfig_parseEmptyTextFile_success PASSED

reposense.parser.StandaloneConfigJsonParserTest > standaloneConfig_githubIdOnlyConfig_success PASSED

reposense.parser.StandaloneConfigJsonParserTest > standaloneConfig_malformedJsonFile_throwsJsonSyntaxException PASSED

reposense.parser.StandaloneConfigJsonParserTest > standaloneConfig_correctConfig_success PASSED

reposense.parser.StandaloneConfigJsonParserTest > standaloneConfig_parseEmptyJsonFile_success PASSED

reposense.report.RepoClonerTest > repoCloner_emptyRepo_failsGracefully STANDARD_ERROR
    01:50:42 - Cloning in parallel from https://github.com/reposense/testrepo-Empty.git...
    01:50:42 - Waiting for cloning of https://github.com/reposense/testrepo-Empty.git to complete...
    01:50:43 - Cloning of https://github.com/reposense/testrepo-Empty.git completed!
    01:50:43 - [WARNING] Exception met while trying to get current branch of https://github.com/reposense/testrepo-Empty.git (HEAD), will skip this repo.

reposense.report.RepoClonerTest > repoCloner_emptyRepo_failsGracefully PASSED

reposense.util.FileUtilTest > zipFoldersAndFiles_validLocation_success PASSED

reposense.util.FileUtilTest > zipFoldersAndFiles_onlyRelevantFiles_success STANDARD_OUT
    Comparing files D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\expectedRelevantUnzippedFiles\reposense_testrepo-Beta\authorship.json & D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\UnzippedFolder\reposense_testrepo-Beta\authorship.json

    Comparing files D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\expectedRelevantUnzippedFiles\reposense_testrepo-Beta\commits.json & D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\UnzippedFolder\reposense_testrepo-Beta\commits.json

    Comparing files D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\expectedRelevantUnzippedFiles\reposense_testrepo-Charlie\authorship.json & D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\UnzippedFolder\reposense_testrepo-Charlie\authorship.json

    Comparing files D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\expectedRelevantUnzippedFiles\reposense_testrepo-Charlie\commits.json & D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\UnzippedFolder\reposense_testrepo-Charlie\commits.json

    Comparing files D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\expectedRelevantUnzippedFiles\summary.json & D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\UnzippedFolder\summary.json

reposense.util.FileUtilTest > zipFoldersAndFiles_onlyRelevantFiles_success PASSED

reposense.util.FileUtilTest > unzip_invalidZipFile_fail PASSED

reposense.util.FileUtilTest > zipFoldersAndFiles_validFileType_success PASSED

reposense.util.FileUtilTest > unzip_validZipFile_success STANDARD_OUT
    Comparing files D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\expectedUnzip\dummy1.txt & D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\UnzippedFolder\dummy1.txt

    Comparing files D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\expectedUnzip\dummy2.txt & D:\Workspaces\Git\RepoSense\build\resources\test\FileUtilTest\UnzippedFolder\dummy2.txt

reposense.util.FileUtilTest > unzip_validZipFile_success PASSED

reposense.util.StringsUtilTest > replaceSpecialSymbols_noSpecialSymbols_noChange PASSED

reposense.util.StringsUtilTest > filterText_standardInput_success PASSED

reposense.util.StringsUtilTest > replaceSpecialSymbols_stringWithSpecialSymbolsToPeriod_success PASSED

221 tests completed, 22 failed, 2 skipped

> Task :test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///D:/Workspaces/Git/RepoSense/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 2s
24 actionable tasks: 23 executed, 1 up-to-date

I have done the same steps on my Ubuntu 20.04 LTS VM, and it works fine there (build successful). Thus, I think it might be a platform-specific issue.

gerhean commented 3 years ago

I do not believe it is a platform specific issue as it runs properly on my Windows laptop.

> java -version
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

> npm --version
6.14.6

> git --version
git version 2.27.0.windows.1

> ver

Microsoft Windows [Version 10.0.19041.685]
fzdy1914 commented 3 years ago

Actually, I got some different errors on my laptop with windows but not on my PC with windows. Not sure why it happens though. Closing it as it is not always occurring.