Running Tests - Monadical-SAS/oddslingers.poker GitHub Wiki
Our codebase has a number of test suites and linting tools set up to help you write clean, correct code.
To run the full suite of tests run by CircleCI on every Pull Request, use the shortcut:
oddslingers testsEquivalent tolintjs; testjs; lintpy; testpy; integration_tests

Python
oddslingers lintpyRun the python linter, equivalent tocd core; flake8 | pymentize -l python.oddslingers testpyRun django python tests, equivalent tocd core; ./manage.py testoddslingers integration_testsRun the django integration tests, equivalent tocd core; ./manage.py integration_test
Javascript
oddslingers lintjsRun the javascript linter, equivalent tocd core/js; eslint .oddslingers testjsRun JS tests, equivalent tocd core/js; babel-node tests/*.js
CSS
oddslingers buildcssRun the SASS compiler on our CSS to detect SCSS syntax errors, equivalent tocd core/js/; node-sass-chokidar scss/ -o ../static/css