From Fedora Project Wiki

Description

This test case checks if Podman can list running and stopped containers correctly.

Setup

Ensure Podman is installed and has run at least one container.

How to test

  1. Open a terminal.
  2. Execute podman ps to list running containers.
  3. Execute podman ps -a to list all containers, including stopped ones.

Expected Results

  1. The podman ps command lists currently running containers.
  2. The podman ps -a command shows all containers, correctly reflecting their status (running or stopped).

Optional

For a more comprehensive test, create containers with different statuses (paused, restarting) and verify if they are listed appropriately.