Skip to content

[REPORT SETUP] Extended reporter skill by Java, Python, XML reports#82

Open
mykhailiukVitalii wants to merge 5 commits into
masterfrom
fix/reporter-setup-all-frameworks
Open

[REPORT SETUP] Extended reporter skill by Java, Python, XML reports#82
mykhailiukVitalii wants to merge 5 commits into
masterfrom
fix/reporter-setup-all-frameworks

Conversation

@mykhailiukVitalii
Copy link
Copy Markdown
Contributor

Extended reporter-setup skill by Java, Python, XML reports.
Need to verify on the different project setups/env.

@GolubNick if you have any chance to look JAVA section description and test.

@mykhailiukVitalii mykhailiukVitalii self-assigned this Apr 28, 2026
@mykhailiukVitalii mykhailiukVitalii changed the title [REPORT SETUP] Extended reporter skill by Java, Python, XML reports DRAFT - [REPORT SETUP] Extended reporter skill by Java, Python, XML reports Apr 28, 2026
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
@mykhailiukVitalii
Copy link
Copy Markdown
Contributor Author

I think, you can leave you examples or comments about Java or Python install steps if need.

@AenEnlil @GolubNick FYI

Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md
@mykhailiukVitalii mykhailiukVitalii force-pushed the fix/reporter-setup-all-frameworks branch from 4e05a4d to 3b55760 Compare May 1, 2026 08:53
@mykhailiukVitalii
Copy link
Copy Markdown
Contributor Author

mykhailiukVitalii commented May 1, 2026

I fixed instructions based on your comments.
If you have a chance to look - welcome @GolubNick @AenEnlil (maybe I missed something)

  • if you have a chance try this skill locally - GO ahead!

@mykhailiukVitalii mykhailiukVitalii changed the title DRAFT - [REPORT SETUP] Extended reporter skill by Java, Python, XML reports [REPORT SETUP] Extended reporter skill by Java, Python, XML reports May 1, 2026
Comment thread skills/reporter-setup/SKILL.md Outdated
Copy link
Copy Markdown
Contributor

@DavertMik DavertMik left a comment

Choose a reason for hiding this comment

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

Improvements
Add DONE state
Steps order

Comment thread skills/reporter-setup/SKILL.md Outdated

Use the appropriate `@testomatio/reporter` for Java test frameworks (JUnit, TestNG).

#### Install
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.

Import tests first

Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
Comment thread skills/reporter-setup/SKILL.md Outdated
Agent: Please replace API token in `.env` file
Agent: Run tests with: npx playwright test and push results to TMS
```

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.

Steps

  1. Detect frameowrk
  2. Import tests
  3. Install reporter
  4. Suggest to run tests to report

Reported == DONE

DONE: Connect to MCP to check new Run was published!

Troubleshooting (Testomatio Key, .. ...)
ARTIFACTS!!!!!

Comment thread skills/reporter-setup/SKILL.md Outdated

> **More examples or extra framework configuration** you can find in [Testomat.io Reporters NodeJS Test Frameworks Configuration](https://docs.testomat.io/test-reporting/frameworks/)

### Java
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

java-check-tests

UNIX/LINUX

  • import
  export TESTOMATIO=... && \
  curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar && \
  java -jar testomatio.jar import
  • sync
  export TESTOMATIO=... && \
  curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar && \
  java -jar testomatio.jar sync
  • pull ids
  export TESTOMATIO=... && \
  curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar && \
  java -jar testomatio.jar pull-ids
  • clean ids
  curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar && \
  java -jar testomatio.jar clean-ids

WINDOWS

  • import
    set TESTOMATIO=...&& ^
    curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar&& ^
    java -jar testomatio.jar import
  • sync
    set TESTOMATIO=...&& ^
    curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar&& ^
    java -jar testomatio.jar sync
  • pull-ids
    set TESTOMATIO=...&& ^
    curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar&& ^
    java -jar testomatio.jar pull-ids
  • clean-ids
    curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar&& ^
    java -jar testomatio.jar clean-ids

Copy link
Copy Markdown
Contributor

@DavertMik DavertMik left a comment

Choose a reason for hiding this comment

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

  • Debugging in Java & Python
  • Artifacts !!!!!
  • Import move to standalone skill
  • JUnit XML from C#, Ruby, etc => add section about them. Write detailed on command
npx @testomatio/reporter xml .... 

(More info you can find in [Testomat.io DEBUG Pipe](./references/TESTOMATIO_DEBUG_PIPE.md) )

#### 🧾 HTML Report Mode (Alternative)
### HTML Report Mode (Alternative)
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.

Replace with Markdown pipe once it is merged

Enable Debug pipe by setting the environment variable:

```bash
TESTOMATIO_DEBUG=1 npx <your-test-command>
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.

DEBUG="@testomatio/reporter:*"

@@ -135,42 +283,47 @@

**After running,** read the test execution logs to detect whether the Testomat.io reporter is enabled and configured correctly.
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.

Add debugging for Java & Python reporters

@GolubNick what options? what log files to read? errors? debug logs how to enable

@AenEnlil add docs about debug command

Move debugging sections to framework sections
Debug is subsection for Java/Python/JS

### Step 4: Verify Setup
## Step 4: Verify Setup

Run your tests with the Testomat.io reporter to ensure everything is configured correctly.
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.

Read logs of tests to understand if report was created
Preferred to use MCP to fetch latest run to check data was sent

Comment on lines -150 to +296
### Step 5: Import Tests to TMS
## Step 5: Import Tests to TMS
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.

Move importing to another skill

Java + Python must be included!

@@ -184,8 +337,6 @@

Next steps:
1. Execute tests and push run results to TMS:
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.

Just follow verification step

@DavertMik
Copy link
Copy Markdown
Contributor

DavertMik commented May 11, 2026

Workflow:

  1. import
  2. repotr
  3. configure artifacts + report

JS/TS/Java/Kotlin/Python (Pytest)

  • check-tests => to import (java-check-tests / pytest --sync) (optional but preferred step)
  • execute test runner with reporter enabled (list all reporter env vars)

Other (C#, Swift, Go, etc)

  • generate JUnit XML report
  • run XML report to import+report (env vars can be different)

Add Artifacts as section (optional but preferred step)

  • Ask user to create a bucket (help user creating bucket if ASKED to do so)
  • Prefer to ask user to set artifacts config in UI (secure, no credentials exposed) - provide URL for project/settings/artifacts so skill could print correct instructions

If asked for IAM Role Support refer to docs

Artifacts setup needed after first report executed and all tests reported succesfully. If screenshots videos logs needed to be save suggets using artifacys feature
(optional step)

@mykhailiukVitalii
Copy link
Copy Markdown
Contributor Author

What need to cover:

  • Detect framework
  • Import tests (check-tests by framework by "Import Tests form Source Code") - before install: import in Java nad Python (Excluded from XML)
    -- check-tests analogs for java/python
  • Install reporter
  • Suggest to run tests to report
  • Reported == DONE (DONE: Connect to MCP to check new Run was published!)
    (Troubleshooting (Testomatio Key, .. ...))

ARTIFACTS!! - as separate skill?
Maybe "Import tests" as separate because in XML - we don't have needed options.
TBD: after call

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.

4 participants