Skip to main content
FixturFab

Troubleshooting

Solutions for common Test Runner issues including environment loading errors, connection problems, and test execution failures.

This guide covers common issues encountered when using Test Runner and their solutions.

Error Loading Environment#

Symptom: "ERROR LOADING ENVIRONMENT" displays in the Slots Status Bar.

Cause: This typically occurs if the test fails while setting up the Python environment or at the start of a pytest run.

Resolution:

  1. Navigate to the Past Runs page
  2. Find the failed run in the list
  3. Download log information from the specific failed run
  4. Open the text log file to review command line output from the pytest execution

The log file contains the full pytest output, including any Python exceptions or import errors that caused the environment to fail loading.

Common Causes of Environment Errors#

Missing Dependencies#

If a test file imports a module that isn't installed in the container, the environment will fail to load. Verify all required packages are listed in your requirements.txt or container configuration.

Syntax Errors#

Python syntax errors in test files prevent the pytest collection phase from completing. Check the log file for SyntaxError messages.

Configuration Issues#

Incorrect paths in the test plan configuration can prevent tests from being discovered. Verify the test directory path is correct.

Next Steps#

Last updated:January 25, 2025