Skip to content
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

Create local unit tests in app module #103

Merged
merged 4 commits into from
Jan 9, 2025
Merged

Conversation

JordanLongstaff
Copy link
Owner

Good to at least get these unit tests up for now. Next I'll work on converting them to JUnit 5, and then hopefully to Kotest.

Copy link

github-actions bot commented Jan 8, 2025

Unit Test Results

   90 files  +   16     90 suites  +16   16m 17s ⏱️ -27s
1 644 tests +  200  1 644 ✅ +  200  0 💤 ±0  0 ❌ ±0 
3 068 runs  +1 624  3 068 ✅ +1 624  0 💤 ±0  0 ❌ ±0 

Results for commit 850ef48. ± Comparison against base commit 0555dc8.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 8, 2025

Konsist Test Results

 12 files  ±0   12 suites  ±0   8s ⏱️ ±0s
326 tests ±0  326 ✅ ±0  0 💤 ±0  0 ❌ ±0 
655 runs  ±0  655 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 850ef48. ± Comparison against base commit 0555dc8.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 8, 2025

Instrumented Test Results

 15 files  ±0   15 suites  ±0   55m 46s ⏱️ -42s
 19 tests ±0   19 ✅ ±0   0 💤 ±0  0 ❌ ±0 
285 runs  ±0  261 ✅ ±0  24 💤 ±0  0 ❌ ±0 

Results for commit 850ef48. ± Comparison against base commit 0555dc8.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 8, 2025

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 8 package(s) with unknown licenses.
  • ⚠️ 4 packages with OpenSSF Scorecard issues.
See the Details below.

License Issues

settings.gradle.kts

PackageVersionLicenseIssue Type
com.squareup.okio:okio-assetfilesystem3.10.1NullUnknown License
io.kotest.extensions:kotest-property-arbs-jvm2.1.2NullUnknown License
io.kotest.extensions:kotest-property-datetime1.1.0NullUnknown License
io.kotest.extensions:kotest-property-datetime-jvm1.1.0NullUnknown License
org.jetbrains.kotlinx:kotlinx-serialization-bom1.8.0NullUnknown License
org.jetbrains.kotlinx:kover-features-jvm0.9.1NullUnknown License
org.jetbrains.kotlin:kotlin-serialization2.1.0NullUnknown License
org.jetbrains.kotlin:kotlin-serialization-compiler-plugin-embeddable2.1.0NullUnknown License

OpenSSF Scorecard

Scorecard details
PackageVersionScoreDetails
maven/com.squareup.okio:okio 3.10.1 🟢 6.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1026 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Packaging🟢 10packaging workflow detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Vulnerabilities🟢 46 existing vulnerabilities detected
maven/com.squareup.okio:okio-assetfilesystem 3.10.1 🟢 6.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1026 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Packaging🟢 10packaging workflow detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Vulnerabilities🟢 46 existing vulnerabilities detected
maven/com.squareup.okio:okio-jvm 3.10.1 🟢 6.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1026 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Packaging🟢 10packaging workflow detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Vulnerabilities🟢 46 existing vulnerabilities detected
maven/com.univocity:univocity-parsers 2.9.1 🟢 4
Details
CheckScoreReason
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Token-Permissions⚠️ -1No tokens found
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow⚠️ -1no workflows found
Code-Review⚠️ 1Found 5/28 approved changesets -- score normalized to 1
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ -1no dependencies found
Security-Policy⚠️ 0security policy file not detected
License🟢 9license file detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
maven/io.kotest.extensions:kotest-property-arbs-jvm 2.1.2 UnknownUnknown
maven/io.kotest.extensions:kotest-property-datetime 1.1.0 UnknownUnknown
maven/io.kotest.extensions:kotest-property-datetime-jvm 1.1.0 UnknownUnknown
maven/org.jetbrains.kotlin:kotlin-serialization 2.1.0 ⚠️ 2.4
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/30 approved changesets -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1030 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Token-Permissions⚠️ -1No tokens found
Security-Policy🟢 10security policy file detected
Dangerous-Workflow⚠️ -1no workflows found
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
License🟢 9license file detected
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0no SAST tool detected
Binary-Artifacts⚠️ 0binaries present in source code
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Vulnerabilities⚠️ 030 existing vulnerabilities detected
maven/org.jetbrains.kotlin:kotlin-serialization-compiler-plugin-embeddable 2.1.0 ⚠️ 2.4
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/30 approved changesets -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1030 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Token-Permissions⚠️ -1No tokens found
Security-Policy🟢 10security policy file detected
Dangerous-Workflow⚠️ -1no workflows found
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
License🟢 9license file detected
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0no SAST tool detected
Binary-Artifacts⚠️ 0binaries present in source code
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Vulnerabilities⚠️ 030 existing vulnerabilities detected
maven/org.jetbrains.kotlin:kotlin-stdlib-jdk7 1.6.10 ⚠️ 2.4
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/30 approved changesets -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1030 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Token-Permissions⚠️ -1No tokens found
Security-Policy🟢 10security policy file detected
Dangerous-Workflow⚠️ -1no workflows found
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
License🟢 9license file detected
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0no SAST tool detected
Binary-Artifacts⚠️ 0binaries present in source code
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Vulnerabilities⚠️ 030 existing vulnerabilities detected
maven/org.jetbrains.kotlin:kotlin-stdlib-jdk8 1.6.10 ⚠️ 2.4
Details
CheckScoreReason
Code-Review⚠️ 0Found 0/30 approved changesets -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1030 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Token-Permissions⚠️ -1No tokens found
Security-Policy🟢 10security policy file detected
Dangerous-Workflow⚠️ -1no workflows found
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
License🟢 9license file detected
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0no SAST tool detected
Binary-Artifacts⚠️ 0binaries present in source code
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Vulnerabilities⚠️ 030 existing vulnerabilities detected
maven/org.jetbrains.kotlinx:kotlinx-serialization-bom 1.8.0 UnknownUnknown
maven/org.jetbrains.kotlinx:kotlinx-serialization-core 1.8.0 🟢 5.5
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ -1No tokens found
Dangerous-Workflow⚠️ -1no workflows found
Maintained🟢 1026 commit(s) and 23 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 9Found 24/25 approved changesets -- score normalized to 9
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 5binaries present in source code
Pinned-Dependencies⚠️ -1no dependencies found
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities🟢 91 existing vulnerabilities detected
maven/org.jetbrains.kotlinx:kotlinx-serialization-core-jvm 1.8.0 🟢 5.5
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ -1No tokens found
Dangerous-Workflow⚠️ -1no workflows found
Maintained🟢 1026 commit(s) and 23 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 9Found 24/25 approved changesets -- score normalized to 9
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 5binaries present in source code
Pinned-Dependencies⚠️ -1no dependencies found
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities🟢 91 existing vulnerabilities detected
maven/org.jetbrains.kotlinx:kotlinx-serialization-json 1.8.0 🟢 5.5
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ -1No tokens found
Dangerous-Workflow⚠️ -1no workflows found
Maintained🟢 1026 commit(s) and 23 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 9Found 24/25 approved changesets -- score normalized to 9
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 5binaries present in source code
Pinned-Dependencies⚠️ -1no dependencies found
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities🟢 91 existing vulnerabilities detected
maven/org.jetbrains.kotlinx:kotlinx-serialization-json-jvm 1.8.0 🟢 5.5
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ -1No tokens found
Dangerous-Workflow⚠️ -1no workflows found
Maintained🟢 1026 commit(s) and 23 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 9Found 24/25 approved changesets -- score normalized to 9
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 5binaries present in source code
Pinned-Dependencies⚠️ -1no dependencies found
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities🟢 91 existing vulnerabilities detected
maven/org.jetbrains.kotlinx:kover-features-jvm 0.9.1 UnknownUnknown
maven/org.jetbrains.kotlinx:kover-gradle-plugin 0.9.1 UnknownUnknown
maven/org.jetbrains.kotlinx:kover-jvm-agent 0.9.1 UnknownUnknown

Scanned Files

  • settings.gradle.kts

@JordanLongstaff JordanLongstaff merged commit f4db590 into main Jan 9, 2025
28 checks passed
@JordanLongstaff JordanLongstaff deleted the app-unit-tests branch January 9, 2025 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant