- Updated the constructor to set the resize event handler for dynamic tab visibility. - Refactored tab visibility logic to adjust based on available page width, moving excess tabs to an overflow menu. - Enhanced tab addition and removal methods to ensure proper overflow management. - Updated unit tests to verify adaptive behavior of the overflow menu based on page width changes.
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