[REPORT SETUP] Extended reporter skill by Java, Python, XML reports#82
[REPORT SETUP] Extended reporter skill by Java, Python, XML reports#82mykhailiukVitalii wants to merge 5 commits into
Conversation
|
I think, you can leave you examples or comments about @AenEnlil @GolubNick FYI |
4e05a4d to
3b55760
Compare
|
I fixed instructions based on your comments.
|
DavertMik
left a comment
There was a problem hiding this comment.
Improvements
Add DONE state
Steps order
|
|
||
| Use the appropriate `@testomatio/reporter` for Java test frameworks (JUnit, TestNG). | ||
|
|
||
| #### Install |
| Agent: Please replace API token in `.env` file | ||
| Agent: Run tests with: npx playwright test and push results to TMS | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Steps
- Detect frameowrk
- Import tests
- Install reporter
- Suggest to run tests to report
Reported == DONE
DONE: Connect to MCP to check new Run was published!
Troubleshooting (Testomatio Key, .. ...)
ARTIFACTS!!!!!
|
|
||
| > **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 |
There was a problem hiding this comment.
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-idsWINDOWS
- 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| (More info you can find in [Testomat.io DEBUG Pipe](./references/TESTOMATIO_DEBUG_PIPE.md) ) | ||
|
|
||
| #### 🧾 HTML Report Mode (Alternative) | ||
| ### HTML Report Mode (Alternative) |
There was a problem hiding this comment.
Replace with Markdown pipe once it is merged
| Enable Debug pipe by setting the environment variable: | ||
|
|
||
| ```bash | ||
| TESTOMATIO_DEBUG=1 npx <your-test-command> |
There was a problem hiding this comment.
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. | |||
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Read logs of tests to understand if report was created
Preferred to use MCP to fetch latest run to check data was sent
| ### Step 5: Import Tests to TMS | ||
| ## Step 5: Import Tests to TMS |
There was a problem hiding this comment.
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: | |||
There was a problem hiding this comment.
Just follow verification step
|
Workflow:
JS/TS/Java/Kotlin/Python (Pytest)
Other (C#, Swift, Go, etc)
Add Artifacts as section (optional but preferred step)
Artifacts setup needed after first report executed and all tests reported succesfully. If screenshots videos logs needed to be save suggets using artifacys feature |
|
What need to cover:
ARTIFACTS!! - as separate skill? |
Extended
reporter-setupskill 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.