Skip to content
Snippets Groups Projects
  1. Oct 10, 2024
  2. Jun 26, 2024
  3. Dec 10, 2023
  4. Apr 10, 2023
  5. Dec 07, 2022
  6. 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
Loading