Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativescript/nativescript-tooling-qa
Tests for NativeScript tooling.
https://github.com/nativescript/nativescript-tooling-qa
nativescript qa tooling
Last synced: 3 months ago
JSON representation
Tests for NativeScript tooling.
- Host: GitHub
- URL: https://github.com/nativescript/nativescript-tooling-qa
- Owner: NativeScript
- Created: 2018-11-12T12:33:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T03:07:25.000Z (about 2 years ago)
- Last Synced: 2024-04-14T04:22:28.857Z (9 months ago)
- Topics: nativescript, qa, tooling
- Language: Python
- Size: 9.46 MB
- Stars: 4
- Watchers: 6
- Forks: 5
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
pip install --upgrade -r requirements_darwin.txt --user
```
Install packages on Windows or Linux:
```bash
pip install --upgrade -r requirements.txt --user
```Set `PYTHONUNBUFFERED` and `PYTHONIOENCODING` environment variables:
```bash
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](SETUP.md) document.**Test Setting via Environment Variables**
Test run is controlled by set of environment variables.
Please read [Settings](SETTINGS.md) document.
## Run Tests
**{N} CLI Tests**
```bash
python run_ns.py tests/cli
```**Schematics Tests**
```bash
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](https://github.com/NativeScript/nativescript-tooling-qa/issues).
Once you are ready with our changes, please run:
```bash
./scripts/test.sh
```## Hints, Tips and Tricks
Please see [Hints, Tips and Tricks](HINTS.md) document.