Manual test
Until the acceptance framework / AbstractDeamonTest is used for testing, manual test cases:
Projects setup
- demo/manifest
- demo/project1
- demo/project2
- demo/project3
project.config{refs/meta/config} in demo/manifest
[plugin "manifest-subscription"]
store = "demo/build_manifest"
branch = "topic"
branch = "master"
Manifests setup (branch master)
- default.xml
- less.xml
- subdir/default.xml
Manifests setup (branch topic)
Test cases
Enable refs/meta/config in demo/manifest
Snapshot manifests at (branch):
- m/master/default.xml
- m/master/less.xml
- m/master/subdir/default.xml
- m/topic/default.xml
Toggle refs/meta/config in demo/manifest
Change demo/project2 non-master branch
Change less.xml{master} (while subscription is turned off after being on)###
Change demo/project3
These snapshot manifests should be updated:
- m/master/default.xml
- m/master/subdir/default.xml
- m/topic/default.xml
Change less.xml{master}
Only this snapshot manifest should be updated:
Change demo/project3 (after topic branch is removed from plugin-config)###
These snapshot manifests should be updated:
- m/master/default.xml
- m/master/subdir/default.xml