Connect
1 tests — 1 passed
PASSAPI key authentication works
Test procedure
- Given Connect is accessible at the configured URL
- And a valid API key is configured
- When I request the current user via the API
- Then the API returns user information
Package Manager
4 tests — 2 passed, 2 skipped
PASSCRAN mirror is accessible
Test procedure
- Given Package Manager is running
- When I query the CRAN repository for the "Matrix" package
- Then the package is found in the repository
SKIPPyPI mirror is accessible
Test procedure
- Given Package Manager is running
- When I query the PyPI repository for the "requests" package
- Then the package is found in the repository
SKIPBioconductor mirror is accessible
Test procedure
- Given Package Manager is running
- When I query the Bioconductor repository for the "BiocGenerics" package
- Then the package is found in the repository
PASSAt least one repository is configured
Test procedure
- Given Package Manager is running
- When I list all repositories
- Then at least one repository exists
Prerequisites
4 tests — 2 passed, 1 failed, 1 skipped
PASS<product> server is reachable
Test procedure
- Given <product> is configured in vip.toml
- When I request the <product> health endpoint
- Then the server responds with a successful status code
SKIP<product> server is reachable
Test procedure
- Given <product> is configured in vip.toml
- When I request the <product> health endpoint
- Then the server responds with a successful status code
PASS<product> server is reachable
Test procedure
- Given <product> is configured in vip.toml
- When I request the <product> health endpoint
- Then the server responds with a successful status code
FAILWorkbench server is reachable but not configured
Test procedure
- Given Workbench is expected to be configured
- When I check the Workbench configuration
- Then Workbench should be reachable
Error traceback
fixturefunc = <function workbench_reachable at 0x7f930aac3560>
request = <FixtureRequest for <Function test_workbench_expected_failure>>
kwargs = {'wb_configured': False}
def call_fixture_func(
fixturefunc: _FixtureFunc[FixtureValue], request: FixtureRequest, kwargs
) -> FixtureValue:
if inspect.isgeneratorfunction(fixturefunc):
fixturefunc = cast(Callable[..., Generator[FixtureValue]], fixturefunc)
generator = fixturefunc(**kwargs)
try:
fixture_result = next(generator)
except StopIteration:
raise ValueError(f"{request.fixturename} did not yield a value") from None
finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)
request.addfinalizer(finalizer)
else:
fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)
> fixture_result = fixturefunc(**kwargs)
^^^^^^^^^^^^^^^^^^^^^
.venv/lib/python3.13/site-packages/_pytest/fixtures.py:915:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
wb_configured = False
@then("Workbench should be reachable")
def workbench_reachable(wb_configured):
> assert wb_configured, (
"Workbench is not configured. "
"This is an expected failure used to demonstrate report rendering. "
"Set [workbench] url in vip.toml to resolve."
)
E AssertionError: Workbench is not configured. This is an expected failure used to demonstrate report rendering. Set [workbench] url in vip.toml to resolve.
E assert False
tests/prerequisites/test_expected_failure.py:42: AssertionErrorLikely causes:
- Workbench is not configured in vip.toml (expected in CI preview)
- This test intentionally fails to demonstrate report failure rendering
- No action needed — this failure is expected in the CI report preview
- To resolve, add a [workbench] section with a valid URL to vip.toml
Documentation: https://github.com/posit-dev/vip/issues/73