Skip to content

Commit

Permalink
Merge pull request #17 from testomatio/revert-16-develop
Browse files Browse the repository at this point in the history
Revert develop changes from main branch
  • Loading branch information
tikolakin authored Sep 23, 2024
2 parents 8d7f39d + a73ca5b commit 977883e
Show file tree
Hide file tree
Showing 10 changed files with 216 additions and 289 deletions.
164 changes: 110 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,124 +1,180 @@
## 2.8.2.dev5 (2024-08-24)
## 2.8.1 (2024-08-14)

## 2.8.1rc2 (2024-08-12)

### Feat

- support HTTP_PROXY var
- Provide an option to not update build URL in a test run

### Fix

- Fix shared runs
- process test id that might start with @

### Refactor
## 2.8.1rc1 (2024-08-11)

- Use system temp folder
### Fix

## 2.8.2.dev4 (2024-08-16)
- Accept testid provided by testomatio before test starts

### Fix
## 2.8.1rc0 (2024-08-11)

- Fix option check
### Feat

## 2.8.2.dev3 (2024-08-16)
- Pytestomatio sends test executor url to Testomatio test run (on CI)
- Allow user to asign label at test synchronisation
- Allow filtering tests by ids when running test execution

### Fix

- Fix shared run
- Handle pytest.skip() so that test status on testomatio is valid
- fix dependencies and gitignore

## 2.6.1 (2024-08-05)

### Feat

## 2.8.2.dev2 (2024-08-16)
- Fixed report final handling with pytest-xdist
- Small code refactoring

## 2.8.2.dev1 (2024-08-16)
## 2.5.0 (2024-03-11)

### Feat

- Plugin code refactored
- Introduced ENV variable `TESTOMATIO_CODE_STYLE` to select code style formating **PEP8** or don't format at all
- Updated pytest version supported to 8+
- Set parallel run as default parameter. ENV variable `TESTOMATIO_SHARED_RUN` is not needed
- Introduced sync lock to be used with pytest-xdist. Env variable `TESTOMATIO_TITLE` becomes optional

### Fix

- Parallel run must be True all the time so that testomatio doesn't create new test runs when update test status
- Fixed NPE when some params not set
- Fixed pytest exception with using **xdist** lib
- Fixed test parameters transfer for DDT tests

## 2.8.1 (2024-08-14)

## 2.8.1rc2 (2024-08-12)
## 2.2.0 (2024-03-11)

### Feat

- Provide an option to not update build URL in a test run
- Add TESTOMATIO_RUN to support test runs created on testomatio
- Add https://www.conventionalcommits.org/en/v1.0.0/ support

### Fix

- process test id that might start with @
- Fix syncing local test with testomatio that are imported in a custom folder (on testomatio end)
- Fix test run completion
- Fix to check testomatio session
- Allow all pytest hooks execution when running sync command that run before pytest_runtestloop (actual tests)
- Fix shared run reporting into new test run
- Fix/workarround of the incorreclty processed parameterised test on API
- Fix dot and space in parameterised test, fix project dependency

## 2.8.1rc1 (2024-08-11)
## 2.1.0 (2024-03-07)

### Feat

- Added support for `TESTOMATIO_TITLE`, `TESTOMATIO_SHARED_RUN` and `TESTOMATIO_LABEL`

## 2.0.0 (2024-03-05)

### Feat

- Align naming with Testomat.io branding
- add --directory option to import test into specific directory in testomat.io

## 1.7 (2024-02-26)

### Fix

- Accept testid provided by testomatio before test starts
- Fixes parameterized test sync and report

## 2.8.1rc0 (2024-08-11)
### 1.6.0 (2024-02-21)

### Feat

- Pytestomatio sends test executor url to Testomatio test run (on CI)
- Allow user to asign label at test synchronisation
- Allow filtering tests by ids when running test execution
- Add helped to attach test artifacts
- Expose environment variables to provide access to cloud storage
- Update readme

### Fix

- Handle pytest.skip() so that test status on testomatio is valid
- fix dependencies and gitignore
- Testomaito not longer supports nested test suites. Suites could be only in a folder.

## 2.6.1 (2024-08-05)

## 2.5.0 (2024-05-08)
### 1.5.0 (2024-02-12)

### Fix
- Fixes artifacts in fixtures lifecycle
- Earlier, artifacts added in pytest fixtures where skipped by analyser

### 1.4.0 (2024-02-06)

### Feat

## 2.2.0 (2024-04-03)
- Adds `--create`, `--no-detached`, `--keep-structure`, `--no-empty`, for compatibility with original Testomatio check-tests
- Improves file update so it doesn't cause code style changes

### Fix
- Fixes artifacts uploads and test sync with Testomatio
- Fixes test id resolution when syncing local test with Testomatio
- Fixes test id when sending test into test run

- fix regex
- disable label and env parameters when updating test run due to 500 error from API
- Fix dot and space in parameterised test, fix project dependency
### 1.3.0 (2023-12-06)

### Fix

- [issue 5](https://github.com/Ypurek/pytest-analyzer/issues/5) - connection issues not blocking test execution anymore

## 2.3.1 (2024-03-13)
### 1.2.8 (2023-12-06)

### Fix

- Fix shared run reporting into new test run
- Fix/workarround of the incorreclty processed parameterised test on API
- [issue 4](https://github.com/Ypurek/pytest-analyzer/issues/4) - Analyzer's execution order

## 2.3.0 (2024-03-11)
### 1.2.5 (2023-10-21)

### Feat

- Add TESTOMATIO_RUN to support test runs created on testomatio
- Add https://www.conventionalcommits.org/en/v1.0.0/ support
- added env variable `TESTOMATIO_RUNGROUP_TITLE` to group test runs

### Fix

- Fix to check testomatio session
- Allow all pytest hooks execution when running sync command that run before pytest_runtestloop (actual tests)
- Fix syncing local test with testomatio that are imported in a custom folder (on testomatio end)
- fixed serialization issue for update test status example

## 2.1.0 (2024-03-07)
### 1.2.4 (2023-09-05)

## 2.0.0 (2024-03-05)
### Fix

## 1.7.0 (2024-02-26)
- improved parametrized tests reporting
- now parameters are passed to example attribute in the report

## 1.6.0 (2024-02-21)
### 1.2.3 (2023-09-03)

## 1.5.0 (2024-02-12)
### Fix

## 1.4.0 (2024-02-06)
- fixed issue with test artifacts when no credentials provided, test artifacts will not be uploaded and no issue raised

## 1.3.0 (2023-12-06)
### 1.2.0 (2023-08-20)

## 1.2.8 (2023-12-06)
### Fix

## 1.2.5 (2023-10-21)
- code refactored (Testomatio.io team review)
- simplified authentication. Only API key needed
- moved API key from pytest.ini to environment variable
- S3 credentials now read from testomat.io API, no local configuration needed
- Prettified test names in testomat.io

## 1.2.4 (2023-09-05)
### 1.1.1 (2023-08-17)

## 1.2.3 (2023-09-03)
### Feat

## 1.2.0 (2023-08-20)
- added artifacts support (screenshots, logs) to test report

## 1.1.1 (2023-08-17)
### 1.0.9 (2023-07-31)

## 1.0.9 (2023-07-31)
### Feat
- first public release
- test analyzer able to sync tests with testomat.io
- test analyzer able to add test ids to tests
- test analyzer able to submit test results to testomat.io
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ https://docs.testomat.io/usage/test-artifacts/
Analyser needs to be aware of the cloud storage credentials.
There are two options:
1. Enable **Share credentials with testomat.io Reporter** option in testomat.io Settings -> Artifacts.
2. Use environment variables `ACCESS_KEY_ID, SECRET_ACCESS_KEY, ENDPOINT, BUCKET, BUCKET_PATH`
2. Use environment variables `ACCESS_KEY_ID, SECRET_ACCESS_KEY, ENDPOINT, BUCKET`

You would need to decide when you want to upload your test artifacts to cloud storage

Expand Down Expand Up @@ -197,8 +197,6 @@ def test_example():
- test run labels, tags

## TODO
- retry test run update with less attributes, we get 500 from api
- handler non configured s3 bucket error
- Fix test duration

## Contribution
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@ name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "pep440"
version_provider = "pep621"
update_changelog_on_bump = false
update_changelog_on_bump = true
[project]
name = "pytestomatio"
version = "2.8.2.dev35"
version = "2.8.1"

dependencies = [
"requests>=2.29.0",
"pytest>7.2.0",
"boto3>=1.28.28",
"libcst==1.1.0",
"commitizen>=3.29.0",
"autopep8>=2.1.0"
"commitizen>=3.18.1",
"autopep8>=2.1.0",
"pytest-xdist>=3.6.1"
]

authors = [
Expand Down
Loading

0 comments on commit 977883e

Please sign in to comment.