pdonorio / restangulask

FRONTEND(Flask and Angular interface) + BACKEND(Flask Rest API)
MIT License
3 stars 2 forks source link

Tests on the client/JS side? #19

Open pdonorio opened 8 years ago

pdonorio commented 8 years ago

Angularjs should be tested.

Also there are other options for web applications: https://www.manning.com/books/selenium-webdriver-in-practice

gianpierobozza commented 8 years ago

I'm looking into finding a test suite for Angular JS

pdonorio commented 8 years ago

This depends on #20

pdonorio commented 8 years ago

Uh Oh, Jasmine exists also for Python (Django/Flask) :O

https://github.com/jasmine/jasmine-py

gianpierobozza commented 8 years ago

Configuration for package.json to execute custom commands with npm it's possible to configure the above mentioned file with something like this:

"scripts": {
    "test": "karma start karma.conf.js --reporters html,dots"
},

so you can execute from shell $ docker run pdonorio/jsdev npm test and launch the command to execute karma