- Updated expected config path to use 'config' instead of 'config.txt'. - Simplified test for Reticulum config path to return the home directory path. - Mocked Reticulum config path in multiple tests to ensure consistent behavior when loading configurations. - Adjusted assertions to reflect changes in expected output for loading configurations.
Ren Browser Basic Test Suite
To-Do
- Security tests
- Performance tests
- Proper RNS support and testing
- Micron Renderer tests (when implemented)
This directory contains comprehensive tests for the Ren Browser application.
Test Structure
unit/- Unit tests for individual componentsintegration/- Integration tests for component interactionsconftest.py- Shared test fixtures and configuration
Running Tests
All Tests
poetry run pytest
Unit Tests Only
poetry run pytest tests/unit/
Integration Tests Only
poetry run pytest tests/integration/
Specific Test File
poetry run pytest tests/unit/test_app.py
With Coverage
poetry run pytest --cov=ren_browser --cov-report=html