Skip to content

Proposal for new commands #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,13 @@ the particular apikey that is provided as --apikey.

```bash
# Export tests
java -jar java-check-tests-0.1.0.jar export --apikey tstmt_your_key --url https://app.testomat.io

# Import IDs back to code
java -jar java-check-tests-0.1.0.jar import --apikey tstmt_your_key --url https://app.testomat.io
java -jar testomatio.jar import --apikey tstmt_your_key --url https://app.testomat.io

# Run export and import
java -jar java-check-tests-0.1.0.jar update-ids --apikey tstmt_your_key --url https://app.testomat.io
java -jar testomatio.jar sync --apikey tstmt_your_key --url https://app.testomat.io

# Clean up test IDs (locally)
java -jar java-check-tests-0.1.0.jar purge --directory ./src/test/java

# Clean up test IDs related to the project
java -jar java-check-tests-0.1.0.jar clean-ids --apikey tstmt_your_key --url https://app.testomat.io
java -jar testomatio.jar clean-ids --directory ./src/test/java

```
---
Expand All @@ -120,4 +114,4 @@ You can use these oneliners to **download and update ids in one move
`set TESTOMATIO_URL=...&& set TESTOMATIO=...&& curl -L -O https://github.com/testomatio/java-check-tests/releases/latest/download/java-check-tests.jar&& java -jar java-check-tests.jar update-ids`

**Where TESTOMATIO_URL is server url and TESTOMATIO is your porject api key.**
**Be patient to the whitespaces in the Windows command.**
**Be patient to the whitespaces in the Windows command.**