Skip to content
Merged
Changes from 2 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
7 changes: 7 additions & 0 deletions airbyte_cdk/cli/airbyte_cdk/_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@ def test(
pytest_args.append("--collect-only")

pytest_args.append(str(test_file_path))

if connector_directory:
build_dir = connector_directory / "build" / "test-results"
build_dir.mkdir(parents=True, exist_ok=True)
junit_xml_path = build_dir / "standard-tests-junit.xml"
pytest_args.extend(["--junitxml", str(junit_xml_path)])
Comment thread
aaronsteers marked this conversation as resolved.
Outdated

click.echo(f"Running tests from connector directory: {connector_directory}...")
click.echo(f"Test file: {test_file_path}")
click.echo(f"Collect only: {collect_only}")
Expand Down
Loading