Skip to content
Snippets Groups Projects
  1. Jan 29, 2025
  2. Dec 25, 2024
    • Dmitry Rodionov's avatar
      test: setup logging in tests · e2de36ac
      Dmitry Rodionov authored
      Logs help to debug flaky tests. Because sometimes just by instance logs
      it is not that easy to guess what the test was doing at that time.
      Especially when there is a repetitive pattern in the test.
      
      For now instance logs and test output are printed in separate sections.
      It still allows to match events by time easier compared to looking only
      at instance log (it is way bigger compared to test log).
      
      Additionally this patch sets up a `framework` package intended to host
      reusable test code without polluting conftest.py
      e2de36ac
  3. May 08, 2024
  4. Dec 19, 2023
  5. Feb 03, 2023
  6. May 17, 2022
    • Yaroslav Dynnikov's avatar
      chore: speedup pytest · 1da4a7e7
      Yaroslav Dynnikov authored
      Specifying the particular directory with tests
      significantly speeds up their collection and execution.
      
      Before:
      
      ```console
      $ time pytest -k nothing
      12 deselected in 1.36s
      ```
      
      After:
      
      ```
      12 deselected in 0.04s
      ```
      1da4a7e7
  7. May 11, 2022
    • Yaroslav Dynnikov's avatar
      test: revise pytest environment · 1bfc5a21
      Yaroslav Dynnikov authored
      1. Review `Pipfile`:
        - Remove unused `filelock`;
        - Install `mypy` - static type checker for Python.
      2. Add new command `pipenv run lint`.
      3. Enable `mypy` in CI. Fix reported errors in `test_basics.py`.
      4. Renew readme.
      1bfc5a21
  8. Apr 28, 2022
Loading