Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Magic Model Matcher for Testing

Aaron Brandes edited this page Jul 29, 2025 · 6 revisions

Magic Model Matcher

___sometext in the command center will open a dialog with all the model names that match 'sometext'. If only one model matches it is opened. No spaces are allowed.

The examples below are useful for smoke testing.

Each line has
- __<model-text>
- <feature-tested>
- <model-name> (optional)
- optional <instructions> below

Test Features

  • ___breeds (breeds)
  • ___User (User Interaction)
  • ___3D (3D View) 3D Shapes Example
    • to enter 3D View ctl/cmd-shift T
  • ___wolf (BehaviorSpace) Wolf Sheep Predation
    • See documentation for more information.
    • cmd/ctl-shift-B for behaviorspace
    • pick experiment (e.g. New BehaviorSpace Features)
    • specify output options
    • turn off view related checkboxes (optional)
    • look at output files
  • ___logistic (System Dynamics) Logistic Growth
    • create a system dynamics model ctl/cmd-shift-D
    • See documentation for more information.

Extensions

  • ___arduino (arduino extension)
    • After setup, you need an arduino board to do more.
  • ___csv (csv extension)
  • ___gis (gis extension)
  • ___matrix (matrix extension)
  • ___nw (nw extension) NW General Examples
    • do setup
    • set preferential attachment
    • layout
  • ___color (palette extension) Color Bubbles, Color Painting, or Color Reveal.
  • ___profiler (profiler extension)
    • follow the numbered steps
  • ___model (ls extension) Model Visualizer and Plotter Example
  • ___py (py extension)
  • ___rnd (rnd extension)
  • ___beat (sound extension)
    • setup
    • load file
    • go
  • ___table (table extension)
  • ___discrete (time extension
  • ___2.5d (view2.5d extension)

NetLogo 3D

Try all the buttons at bottom of the 3D view window. Pick a model directly from the Models library or open one from command line.

  • ___Bouncing
  • ___Trails
  • ___Turtle
  • ___Network (nw extension)

Hubnet Client

See the documentation for details.

  • Open NetLogo application
  • Open one of the Hubnet models
  • Open Hubnet client application
  • Fill in User name
  • Click the activity
  • Click Enter
  • In the NetLogo application click setup, go

BehaviorSearch

See the documentation for details.

  • From menu File->Examples select a file
  • Click Open
  • Click Run BehaviorSearch
  • Click Start Search

Notes

  • For more info on smoke testing see documentation
  • Don't try vid extension on MacOs - it may hang NetLogo
  • the following extensions have no models in the library
    • array
    • resource
    • sr
  • bitmap - current example uses camera - does not work on MacOS, someone should create a better one
  • gogo - requires gogo board for full testing

Clone this wiki locally