Name: device-identification-data
Owner: BBC
Description: Device Identification Data
Created: 2017-02-16 14:20:38.0
Updated: 2018-05-23 15:22:26.0
Pushed: 2018-05-23 15:22:24.0
Homepage: null
Size: 322
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This project contains data designed to be consumed by Melanite, and used by Matterhorn.
Clone the project:
clone git@github.com:bbc/device-identification-data
Install dependencies:
install
To check the data against the schema provided, run:
test
To create a new matcher, run:
run create
Then follow the prompt to enter a brand and model.
To run only the matcher tests, run:
run test:matcher
You can also filter the matcher tests to run against a specific brand
run test:matcher -- --brand-only=panasonic
You can also filter the matcher tests to ignore a specific brand
run test:matcher -- --brand-not=panasonic
You can also filter the matcher tests to run against a specific model
run test:matcher -- --model-only=tv_2011
You can also filter the matcher tests to ignore a specific model
run test:matcher -- --model-not=tv_2011
You can also pass multiple brands/models to the above commands by comma seperating them