openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

Switch to pytest

Open maxime-desroches opened this issue 1 year ago • 6 comments

This is a central issue tracking the switch from unittest to pytest.

The goal:

  • Switch to pytest
  • Make the tests easy to run

How to do it:

  • Convert from unittest to pytest with a tool like https://github.com/dannysepler/pytestify
  • Write a good default config in each pyproject.toml such that all the tests can be run by only invoking pytest

Needs to be done in each of the following repos:

  • [x] cereal
  • [ ] panda
  • [x] opendbc
  • [x] rednose
  • [x] teleoprtc
  • [x] msgq

maxime-desroches avatar Jul 09 '24 01:07 maxime-desroches

is it still open?

ranjanmangla1 avatar Jul 11 '24 19:07 ranjanmangla1

@ranjanmangla1 Yes, only panda is left if you want to do it

maxime-desroches avatar Jul 11 '24 20:07 maxime-desroches

i'm working on panda still

UkuLoskit avatar Jul 11 '24 20:07 UkuLoskit

Locked to @UkuLoskit

adeebshihadeh avatar Jul 11 '24 20:07 adeebshihadeh

Seems like the issues wasn't fixed, Did @UkuLoskit make any update?

sudoevans avatar Aug 20 '24 22:08 sudoevans

hey, is the bounty still open for this?

Pious1020 avatar Sep 14 '24 17:09 Pious1020