Project with test for NativeScript tooling.
Posix:
- Python 2.7 or Python 3.2+
Windows
- Python 3.2+
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 --user
Set PYTHONUNBUFFERED
and PYTHONIOENCODING
environment variables:
export PYTHONUNBUFFERED=1
export PYTHONIOENCODING=utf-8
Notes:
PYTHONUNBUFFERED
is required to get logging on Jenkins CI working properly.PYTHONIOENCODING
helps 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.
{N} CLI Tests
python run_ns.py tests/cli
Schematics Tests
python run_schematics.py tests/code_sharing
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.sh
Please see Hints, Tips and Tricks document.