NativeScript Tooling Tests
About
Project with test for NativeScript tooling.
Requirements
Posix:
- Python 2.7 or Python 3.2+
Windows
- Python 3.2+
Before Running Tests
Install Required Packages
Update pip and install project requirements:
python -m pip install --upgrade pip
Install packages on macOS:
pip install --upgrade -r requirements_darwin.txt --user Install packages on Windows or Linux:
pip install --upgrade -r requirements.txt --userSet PYTHONUNBUFFERED and PYTHONIOENCODING environment variables:
export PYTHONUNBUFFERED=1
export PYTHONIOENCODING=utf-8Notes:
PYTHONUNBUFFEREDis required to get logging on Jenkins CI working properly.PYTHONIOENCODINGhelps to get command execution more stable.
Setup Machine
Please setup your system as per Setup document.
Test Setting via Environment Variables
Test run is controlled by set of environment variables.
Please read Settings document.
Run Tests
{N} CLI Tests
python run_ns.py tests/cliSchematics Tests
python run_schematics.py tests/code_sharingContribute
Contributions are welcome.
If you wonder how you can contribute, just grab some of the open issues.
Once you are ready with our changes, please run:
./scripts/test.shHints, Tips and Tricks
Please see Hints, Tips and Tricks document.