Export variables to testing environment
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
Share variables such as `SNAPCRAFT_PROJECT_DIR`, `SNAPCRAFT_PROJECT_VERSION` and `CRAFT_ARCH_BUILD_FOR` with the testing environment.
### Why it needs to get done
This allows test projects to correctly identify the snap generated in this lifecycle run by referencing them as `$SNAPCRAFT_PROJECT_DIR/mysnap_$SNAPCRAFT_PROJECT_VERSION_$CRAFT_ARCH_BUILD_FOR.snap`. Other variables containing component versions can be exported later.
Evaluation history
No evaluation history available.