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 on 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.
Run Tests
{N} CLI Tests
python run_ns.py tests/cli
Schematics Tests
python run_schematics.py tests/code_sharing
Contribute
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
Hints, Tips and Tricks
Please see Hints, Tips and Tricks document.