mass_driver.tests.test_activity

Validate an ‘Activity’, a single file that does both Migration and Forge

Feature: Unified ‘Activities’ for separable migration-then-forge

Module Contents

Functions

test_migration_and_forge

Feature: Validate the Forge CLI

test_scan

Feature: Scan repositories

API

mass_driver.tests.test_activity.test_migration_and_forge(tmp_path, shared_datadir, monkeypatch)[source]

Feature: Validate the Forge CLI

 As the mass-driver dev
 I need to ensure run command works (migration then forge)
 To avoid regressions of the overall CLI

Note that this is NOT a test of the specific Forge, as we intentionally stripped this forge of any real complexity, this is instead a check that the CLI pipeline still works.

mass_driver.tests.test_activity.test_scan(tmp_path, shared_datadir)[source]

Feature: Scan repositories

As a mass-driver user I need to scan repo contents To discover what migration need to be prepared