jeff1evesque / machine-learning

Web-interface + rest API for classification and regression (https://jeff1evesque.github.io/machine-learning.docs)
Other
257 stars 85 forks source link

Create unit tests for sass compiler #2756

Open jeff1evesque opened 8 years ago

jeff1evesque commented 8 years ago

We need to create unit tests for our sass compiler for both the manual, and live_server cases.

jeff1evesque commented 6 years ago

We can implement true, with jest:

Specifically, we can segregate unit tests, by creating a dedicated src/scss/package.json, and a corresponding script, which gets executed by the sass dockerfile. Then, we can implement the sass related test, as another directive within the .travis.yml, like was done for the jest (i.e. reactjs unit tests). For this issue, we'll likely perform trivial tests (rem font size, and color testing), as a simple proof of concept, which can be further extended, when requirements become tangible.

jeff1evesque commented 6 years ago

We'll push this to a later milestone, since this is a fairly new technique, and other issues have higher priority.