Skip to content

Integrate Visualization Testing in Mesa CI #2734

Open
@EwoutH

Description

@EwoutH

Goal

Add comprehensive testing for Mesa's visualization components (SolaraViz) to our CI pipeline to ensure visualization functionality works correctly across all example models.

What's Been Tried

  • Basic model testing exists in test_examples.py but doesn't validate visualization components
  • PR #2491 started testing example app initialization by importing and accessing app.page
  • PR #215 in mesa-examples attempted more thorough SolaraViz testing but encountered import issues

Current Status

  • No systematic testing of visualization functionality exists in our CI
  • No performance benchmarks for visualizations
  • Basic tests only confirm models run but don't verify visualization correctness
  • The viz.py approach shows promise but needs integration with existing test infrastructure

The Solara docs might be useful: Testing with Solara

Part of #2364.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sprints!A task that might be good to tackle during sprints!ciRelease notes labeltestingRelease notes labelvisualisation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions