I added some tests that check generated files (Grunt) with expected files (Component-build()).
I currently use Makefile, to generate expected files, instead of a Grunt task because there are no plugin to run Shell commands compatible with Grunt 4.0. It could be changed later with Grunt-shell for example.
You just have to run make to generate expected files and grunt to test.
With this PR, tests are failing because of the outout of the stand-alone version of the component.
Since this commit (35a4ffbac37f941d69288d021e8537f9bebf9780) the standalone template is not processed correctly (for testing I've done). I'll patch it in another PR (see #8).
I added some tests that check generated files (Grunt) with expected files (Component-build()). I currently use Makefile, to generate expected files, instead of a Grunt task because there are no plugin to run Shell commands compatible with Grunt 4.0. It could be changed later with Grunt-shell for example.
You just have to run
make
to generate expected files andgrunt
to test.With this PR, tests are failing because of the outout of the stand-alone version of the component. Since this commit (35a4ffbac37f941d69288d021e8537f9bebf9780) the
standalone
template is not processed correctly (for testing I've done). I'll patch it in another PR (see #8).