- Rewritten logger and artifacts storage. Test reports contain logs, steps, stack traces.
- Added custom method to log data:
const { log } = require('@testomatio/reporter');
// or
import { log } from '@testomatio/reporter';
log`your message`;
- Added custom function to add a step:
const { step } = require('@testomatio/reporter');
// or
import { step } from '@testomatio/reporter';
step`Login started`;
step`Login successful`;
- Mocha: improved creating tests with
TESTOMATIO_CREATE=1
- JUnit XML: improved parsing Java tests that contain
@DisplayName
annotation - Cypress: Fixed repoting stacktraces & tests duration (for Cypress version 13+)
- Cypress: Fixed uploading artifacts.
- Added retries while uploading artifacts to S3 storage
- Added
TESTOMATIO_TOKEN
andTESTOMATIO_API_KEY
as aliases toTESTOMATIO
environment variable to pass project key to reporter - Assign Run by label:
TESTOMATIO={API_KEY} TESTOMATIO_LABEL="release,module:checkout" <actual run command>
Documentation updates:
- Fixed stack traces for CodeceptJS
Renamed TESTOMATIO_STACK_FILTER
to TESTOMATIO_STACK_IGNORE
- Addded stack trace configuration and documentation:
TESTOMATIO_STACK_IGNORE="tests/support/**.js" <actual-run-command>
- Jest: fixed reporting tests without a suite title
- Attach Run to Jira Issue via
TESTOMATIO_JIRA_ID
env variable:
TESTOMATIO_JIRA_ID=TST-12 <actual run command>
- Mocha - removed requirement of TESTOMATIO API Key
-
Execute tests by tag names. Use this filter to select tests associated with specific tags.
TESTOMATIO={API_KEY} npx start-test-run -c 'actual run command' --filter 'testomatio:tag-name=smoke'
- more instruction you can find in docs/pipes/testomatio.md
-
JUnit improvements
- Match test from source code by adding Test ID as a comment:
// @T8acca9eb
- Match test from output by adding Test ID as output:
System.out.println("tid://@T8acca9eb");
- Support for suite before and after output
- Improved support for artifacts
& Logger refactoring by @olexandr13 in #208
- fix undefined logs by @olexandr13 in #210
- fix steps duplication for codecept report by @olexandr13 in #209
- Added
TESTOMATIO_PUBLISH=1
variable to automatically publish run report
- Support XUnit format
- Improved support for parametrized Java tests
- Fixed
Can't read push of undefined
when logging steps
- Testomat.io. Auto-detect current build url and report it to Testomat.io. Manually url can be set with
BUILD_URL
variable:
BUILD_URL=https://.... TESTOMATIO=apiKey <actual test command>
- Fix "create tests" params processing for testomatio pipe
- Fixed parallel run
- Fixed reporting parallel runs
- Added
TESTOMATIO_SHARED_RUN
option to use a shared run for parallel executions - Reworked documentation.
- Added an option to obtain S3 configuration from Testomat.io
- Introduced pipes:
- GitHub
- GitLab
- CSV Pipe
- Updated to use AWS S3 3.0 SDK for uploading
- Fixed reporting skipped tests in mocha
- Fixed parsing source code in JUnit files
- CodeceptJS: Upload all traces and videos from artifacts
- Fixed reporting skipped test in XML
- added
--timelimit
option toreport-xml
command line
- Fixed uploading non-existing file
- Support for NUnit XML v3 format
- Support for
@cucumber/cucumber
(>= 7.0) added - Initial support for C# and NUnit
- Fixed uploading multilpe artifacts in Playwright
- Fixed pending tests reports for Cypress
- Pytest: fixed creating suites from reports
- JUnit reporter: prefer suite title over testcase classname in a report
- Fixed test statuses for runs in JUnit reporter
- Added
TESTOMATIO_PROCEED=1
param to not close current run - Fixed priority of commands from
npx @testomatio/reporter
- Fixed
npx start-test-run
to launch commands
- Added
--env-file
option to load env variables from env file
- Fixed creating RunGroup with JUnit reporter
- JUnit reporter support
- Fixed reporting Scenario Outline in Cypress-Cucumber
- Fixed error reports for Cypress when running in Chrome
- Added environment on Cypress report
- Fixed Cypress.io reporting
- Fixed webdriverio artifacts
- Unmark failed CodeceptJS tests as skipped
- Fixed
BeforeSuite
failures in CodeceptJS
Added TESTOMATIO_CREATE=1
option to create unmatched tests on report
TESTOMATIO_CREATE=1 TESTOMATIO=apiKey npx codeceptjs run
- Fixed parsing suites
- Fixed multiple upload of artifacts in Cypress.io
- Fixed Cypress.io to report tests inside nested suites
- Added Cypress.io plugin
- Added artifacts upload to webdriverio
- Fixed CodeceptJS reporter to report tests failed in hooks
- Fixed "Total XX artifacts publicly uploaded to S3 bucket" when no S3 bucket is configured
- Improved S3 connection error messages
- Fixed returning 0 exit code when a process fails when running tests in parallel via
start-test-run
. Previously was using the last exit code returned by a process. Currently prefers the highest exit code that was returned by a process.
- Added
TESTOMATIO_DISABLE_ARTIFACTS
env variable to disable publishing artifacts.
- print version of reporter
- print number of uploaded artifacts
- print access mode for uploaded artifacts
Added global.testomatioArtifacts = []
array which can be used to add arbitrary artifacts to a report.
// inside a running test:
global.testomatioArtifacts.push('file/to/upload.png');
- Playwright: Introduced playwright/test support with screenshots and video artifacts
Known issues: reporting using projects configured in Playwright does not work yet
- CodeceptJS: added video uploads
- CodeceptJS: fixed reporting tests with empty steps (on retry)
- Finish Run via API:
TESTOMATIO={apiKey} TESTOMATIO_RUN={runId} npx @testomatio/reporter@latest --finish
- Create an empty Run via API:
TESTOMATIO={apiKey} npx @testomatio/reporter@latest --launch
- Checking for a valid report URL
- Sending unlimited data on test report
- Fixed submitting arbitrary data on a test run
- Jest: fixed sending errors with stack traces
- Cypress: fixed sending reports
- Fixed circular JSON reference when submitting data to Testomatio
- Minor fixes
- Making all reporters to run without API key
- Fixed
npx start-test-run
to work with empty API keys
- Fixed release
- Update title and rungroup on start for scheduled runs.
- Added
TESTOMATIO_RUN
environment variable to pass id of a specific run to report
- Minor fixes
- [CodeceptJS] Fixed stack trace reporting
- [CodeceptJS] Fixed displaying of nested steps
- [CodeceptJS][mocha] Added assertion diff to report
- Fixed error message for S3 uploading
- [CodeceptJS] Better formatter for nested structures and BDD tests
- Added
TESTOMATIO_TITLE
env variable to set a name for Run - Added
TESTOMATIO_RUNGROUP_TITLE
env variable to attach Run to RunGroup - Added
TESTOMATIO_ENV
env variable to attach additional env values to report - [CodeceptJS] CodeceptJS v3 support
- [CodeceptJS] Dropped support for CodeceptJS 2
- [CodeceptJS] Added support for before hooks
- [CodeceptJS] Log of steps
- [CodeceptJS] Upload screenshots of failed tests to S3
- [CodeceptJS] Updated to use with parallel execution