Skip to content

Refactor tests and improve component structure - #173

Merged
masc2023 merged 2 commits into
mainfrom
cleanup2
Sep 11, 2026
Merged

masc2023 merged 2 commits into
mainfrom
cleanup2

Conversation

@AlexanderLanin

@AlexanderLanin AlexanderLanin commented Sep 11, 2026

Copy link
Copy Markdown
Member

Reorganize tests and enhance the structure of the component example. Introduce unit and integration tests for better coverage and clarity. Update documentation references and remove unnecessary files.

Resolves #130

- Removed unnecessary test directories and files.
- Updated test names for clarity and consistency.
- Added unit tests for `make_hello()` function.
- Enhanced `make_hello_message()` function to utilize `make_hello()`.
- Introduced new integration tests for module-level functionality.
- Updated documentation references in the BUILD files.
@github-actions

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.7.0) and connecting to it...
INFO: Invocation ID: 7d5700af-6774-433b-b963-48616232882f
Computing main repo mapping: 
WARNING: For repository 'aspect_rules_lint', the root module requires module version aspect_rules_lint@1.10.2, but got aspect_rules_lint@2.3.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)

Analyzing: target //:license-check (31 packages loaded, 10 targets configured)

Analyzing: target //:license-check (86 packages loaded, 10 targets configured)

Analyzing: target //:license-check (146 packages loaded, 776 targets configured)

Analyzing: target //:license-check (162 packages loaded, 2848 targets configured)

Analyzing: target //:license-check (164 packages loaded, 6664 targets configured)

Analyzing: target //:license-check (169 packages loaded, 8322 targets configured)

Analyzing: target //:license-check (169 packages loaded, 8322 targets configured)

Analyzing: target //:license-check (172 packages loaded, 8459 targets configured)

Analyzing: target //:license-check (175 packages loaded, 10344 targets configured)

Analyzing: target //:license-check (176 packages loaded, 10464 targets configured)

Analyzing: target //:license-check (176 packages loaded, 10464 targets configured)

INFO: Analyzed target //:license-check (177 packages loaded, 12043 targets configured).
[7 / 15] [Prepa] Creating source manifest for @@score_tooling+//dash/tool/formatters:dash_format_converter [for tool] ... (2 actions, 0 running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 2 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[14 / 16] [Prepa] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar
[15 / 16] Building license.check.license_check.jar (); 0s disk-cache, multiplex-worker
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 194.303s, Critical Path: 2.74s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-173: https://eclipse-score.github.io/module_template/pr-173/

Comment thread docs/template/index.rst
├── docs/ # Global documentation of the module
│ ├── features/ # Feature documentation and architecture
│ │ └── <feature_name>/ # Folder for each feature parts which should be in module documentation
│ │ └── <feature_name>/ # Folder for each feature parts which should be in module documentation. Omit in single feature case.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Omit subfolder in single feature case.

@masc2023
masc2023 merged commit 03c00dd into main Sep 11, 2026
7 checks passed
@masc2023
masc2023 deleted the cleanup2 branch September 11, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

add code and test to example component

3 participants