Skip to content
Snippets Groups Projects
  1. Dec 15, 2022
  2. Aug 30, 2022
  3. Aug 28, 2022
    • Saurabh Kumar's avatar
      Improve testing and development experience · 91a25396
      Saurabh Kumar authored
      - Add “make test” command to lint, test and report coverage
      - Add pytest runner 
        - It automatically set up to use the correct Django settings module
        - Runs tests on all the available CPU, I was able to run all the test in total=~30sec using “make test” command.
        - It provides a cleaner error report, compared to DjangoTestRunner
      - Coverage
        - Displayed the report on the terminal after the test finish
        - Disable reporting of coverage for test and migration files
        - Enable coverage reporting for the template files
        - “make test” generates HTML reports to quickly check the coverage of each file
      91a25396
  4. Jan 18, 2021
  5. Feb 25, 2020
    • Todd Dembrey's avatar
      Centralise linting commands in the makefile · 9d0ae152
      Todd Dembrey authored
      - Add missing PHONY definition for `help`
      - Add `lint` command to run both isort and flake8
      - Add `style` command to run flake8
      - Rename `fix` to `sort-fix` to fix the isort errors
      - Remove exit code from `sort` as it hid errors and emits error codes anyway
      9d0ae152
  6. Feb 24, 2020
  7. Jul 22, 2019
  8. Jul 19, 2019
Loading