Skip to content

Conversation

@YevheniiVlasenko
Copy link

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 27, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4563348
Status: ✅  Deploy successful!
Preview URL: https://95f34fd0.docs-c7r.pages.dev
Branch Preview URL: https://java-reporter-tutorials.docs-c7r.pages.dev

View logs

Copy link
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.

  • Remove java-check-tests
  • Do not hardcode lib version
  • Improve 'reporting' sections to be tutorial focused on real user flows

**java-check-tests** and run the `sync` command.
Here is one for UNIX/MAC users:
```bash
export TESTOMATIO_URL=... && \
Copy link
Contributor

Choose a reason for hiding this comment

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

not needed for most setups

<dependency>
<groupId>io.testomat</groupId>
<artifactId>java-reporter-junit</artifactId>
<version>0.7.4</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

is ths only version?

---

## Other commands
Since the `testomatio.jar` is already in your project, you can use other commands:
Copy link
Contributor

Choose a reason for hiding this comment

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

suggest full command usage:

java -jar ... clean-ids

`--directory` works for this command.
If you have already removed the jar from the project, you can run the oneliner you used to sync,
but change `sync` to `clean-ids`.
<br/>
Copy link
Contributor

Choose a reason for hiding this comment

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

invalid syntax

<br/>
<br/>

As you can see, the Java-Check-Tests usage is pretty straightforward.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
As you can see, the Java-Check-Tests usage is pretty straightforward.
As you can see, the Java-Check-Tests usage is pretty straightforward.

Never write like this

This line means nothing
This is not straightforward for some users

java -jar testomatio.jar sync
```

The `TESTOMATIO_URL` here is the server URL. In general, this will be `https://app.testomat.io` or `https://beta.testomat.io`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The `TESTOMATIO_URL` here is the server URL. In general, this will be `https://app.testomat.io` or `https://beta.testomat.io`.
The `TESTOMATIO_URL` here is the server URL. In general, this will be `https://app.testomat.io` or `https://beta.testomat.io`.

Do not expose our beta!

TESTOMATIO_URL is needed only for on premise setups
By default it should be avoided

```cmd
set TESTOMATIO_URL=...&& ^
set TESTOMATIO=...&& ^
curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar&& ^
Copy link
Contributor

Choose a reason for hiding this comment

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

curl -L -O -z testomatio.jar https://github.com/testomatio/java-check-tests/releases/latest/download/testomatio.jar && \

The -z flag makes curl only download if the remote file is newer than the local file, or if the local file doesn't exist.


> Names of the properties **remain the same** in both approaches.

3. When you have synchronized your code and provided the required properties, that's basically all: run your tests and see
Copy link
Contributor

Choose a reason for hiding this comment

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

this is tutorial, not a reference here! Do not focus on all possible options
Focus on usage and workflow

> Names of the properties **remain the same** in both approaches.

2. When you have synchronized your code and provided the required properties, that's basically all: run your tests and see
the results in the [Testomat.io UI](https://app.testomat.io)
Copy link
Contributor

Choose a reason for hiding this comment

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

screenshot needed


- ***Run customization with additional properties***

| Setting | What it does | Default | Example |
Copy link
Contributor

Choose a reason for hiding this comment

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

table formatting is broken but just remove this table

- System environment
- JVM properties
- `testomatio.properties` file in the resources folder
- `testomatio.url=https://beta.testomat.io` – if you run on beta, add this property as the library reports to
Copy link
Contributor

Choose a reason for hiding this comment

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

ok, but how to run tests and see results?
Which command?

mvn test ?

@TetianaKhomenko
Copy link
Collaborator

@DavertMik could you please take a look if we can merge this article?

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