Skip to content

Test custom scripts#95

Merged
Jonas-Kirchhoff merged 9 commits intomainfrom
test_custom_scripts
Sep 26, 2025
Merged

Test custom scripts#95
Jonas-Kirchhoff merged 9 commits intomainfrom
test_custom_scripts

Conversation

@Jonas-Kirchhoff
Copy link

  • add tests for custom scripts
  • add validator checking existence of files
  • add references and score to JLS-18, JLS-20 and JLS-22

@github-actions github-actions bot added the L label Sep 25, 2025
@coveralls
Copy link

coveralls commented Sep 25, 2025

Coverage Status

coverage: 99.186%. remained the same
when pulling ff41146 on test_custom_scripts
into ef2b50d on main.

@Jonas-Kirchhoff Jonas-Kirchhoff marked this pull request as ready for review September 25, 2025 09:22
@Erikhu1 Erikhu1 self-assigned this Sep 25, 2025
exceptions = []
for file in files:
if not os.path.exists(file):
exceptions.append(RuntimeError("Critical Error: The path {file} does not exist."))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not formatted as an f-string

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!


def insert_line(filepath):
"""Insert a new line '### Compliance for Trustable Tenets' after '## Compliance for TT' in the file."""
"""Insert a new line explaining the abbreviation after '## Compliance for ABBR' in the trustable report."""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is ABBR a placeholder?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed.

* put f-string instead of string
* remove possible division by zero
@github-actions github-actions bot removed the L label Sep 26, 2025
@Jonas-Kirchhoff Jonas-Kirchhoff merged commit f699b0c into main Sep 26, 2025
83 checks passed
@Erikhu1 Erikhu1 deleted the test_custom_scripts branch November 4, 2025 15:16
Erikhu1 pushed a commit that referenced this pull request Nov 14, 2025
* add tests for custom scripts

* add file-existence-checker

* assert that unit-tests are executed daily

* assert that historical scores are collected

* assert that test-results are captured

* remove un-necessary existence check

* fix faulty configuration for evidence

* fix file_exists validator

* put f-string instead of string
* remove possible division by zero

* clarify place-holder ABBR
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.

3 participants