日本語版 Readme はこちらを参照して下さい。
- Install
node.js v14.15.3. - Install
yarncorresponding to the version of node.js. - Go to the root directory of the project.
- Execute the following command.
yarn install
- Go to the root directory of the project.
- Execute the following command.
yarn package
- The following directory is created in
dist/latteart.dist/latteart/ ├─ capture.bat # batch file ├─ manage.bat # batch file ├─ launch.config.json # batch execution configuration file ├─ launch.exe # executable file for Windows ├─ latteart/ │ ├─ public/ # contains index.html and favicon │ └─ latteart.exe # executable file for Windows └─ latteart-repository/ ├─ history-viewer/ # snapshot viewer (review view) └─ snapshot-viewer/ # snapshot viewer
Detect source code changes and rebuild LatteArt.
- Go to the root directory of the project.
- Execute the following command to start development server.
(If you update a source code, that is rebuilt automatically.)
yarn serve
- Go to the root directory of the project.
- Execute the following command.
yarn watch:server
- The directory
distis created in the current directory, anddistcontains builtindex.js. (If you update a source code, it is rebuilt automatically.) - Execute the following command.
yarn start:server
- Put generated
latteartdirectory into any directory. - Put
latteart-capture-clandlatteart-repositorydirectories intolatteartdirectory.latteart/ ├─ capture.bat ├─ manage.bat ├─ launch.config.json ├─ launch.exe ├─ latteart/ ├─ latteart-capture-cl/ # put └─ latteart-repository/ # merge
- Execute the following script.
- Capture tool
- capture.bat
- Test management tool
- manage.bat
- Capture tool
- The tools are executed on a new tab in a web browser. (You can also execute the tools by opening the following URLs.)
- Capture tool
- Test management tool
- Close the window with the following message displayed.
capture: http://127.0.0.1:3000 manage: http://127.0.0.1:3000?mode=manage - The other windows are automatically closed.
- Select "Windows" from the "platform" list on the config page.
- Enter the URL of an application that you want to test and press the "Start" button.
- Select "Android" from the "platform" list on the config page.
- Select the connected device name in the "Device advanced settings" on the config page.
- If you want to test the application on the local server via remote device features of Chrome Devtools, set the wait time until reloading a browser because it takes a little time to recognize the device.
- Enter the URL of an application that you want to test and press the "Start" button.
Please read this document to contribute to LatteArt.
If you have any questions about LatteArt, please post them to Discussions on GitHub.
For other inquiries, please contact NTT Software Innovation Center (iso-tool-support-p-ml [at] hco.ntt.co.jp).
This software is licensed under the Apache License, Version2.0.
