bbc/device-identification-data

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Device Identification Data

This project contains data designed to be consumed by Melanite, and used by Matterhorn.

Development

Clone the project:

clone git@github.com:bbc/device-identification-data

Install dependencies:

install
Test

To check the data against the schema provided, run:

test
Create a new matcher

To create a new matcher, run:

run create

Then follow the prompt to enter a brand and model.

Matcher testing

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.