Document testing instructions for Windows (#1083)

This commit is contained in:
Moritz Kiefer 2019-05-10 17:14:22 +02:00 committed by Neil Mitchell
parent ebb93556aa
commit 4eb6bfa997

View File

@ -10,12 +10,34 @@
1. Activate the new version with `da use VERSION`. Note that it will
not be picked up by `da upgrade` at this point.
1. Run through the manual test plan described in https://docs.google.com/document/d/16amcy7bQodXSHjEmKhAUiaPf6O92gUbch1OyixDEvSM/edit?ts=5ca5be00.
The test plan currently still targets the old `da` assistant. We
will migrate the test plan fully to the new assistant soon but for
now, there is a shorter test plan for the new assistant that
you should run on Windows:
1. Download the installer from https://github.com/digital-asset/daml/releases
1. Remove any existing installation: `rm -r -Force $env:AppData\daml`
1. Run the installer.
1. Open a new Powershell.
1. Run `daml new quickstart` to create a new project.
1. Switch to the new project: `cd quickstart`
1. Run `daml start`.
1. Open your browser at `http://localhost:7500`, verify that you
can login as Alice and there is one template and one contract.
1. Kill `daml start` with Ctrl-C
1. Run `daml studio` and open `daml/Main.daml`.
1. Verify that the scenario result appears within 30 seconds.
1. Add `+` at the end of line 26 after `"Alice"` and verify that you get a red squiggly line.
1. If it passes, the release should be made public. This currently
consists of three steps:
1. Tag the release as `visible-external` on Bintray. This step can
only be done by someone with permissions to set tags on Bintray.
After this step the release will be picked up by `da upgrade`.
After this step the release will be picked up by `da
upgrade`. Note that this step requires special privileges on
Bintray. If you cannot change it yourself, ask in #team-daml.
1. Trigger the CircleCI jobs to create the Docker images. To do so,
go to