hummingbot icon indicating copy to clipboard operation
hummingbot copied to clipboard

Improve test to pytest

Open dfang opened this issue 11 months ago • 3 comments

  1. test speed currently it takes minutes to run make test, this makes refactoring or upgrade hard ... sometimes it hangs, because there is no timeout settings applied ...

  2. there are ignore settings in .coveragerc and Makefile

  3. nose has been unmaintained since at least 2015 Nose has been unmaintained since at least 2015 Screen Shot 2025-01-13 at 11 01 58

  4. pytest is more widely used test runner, it can be integrated with coverage.py too, this is how pytest looks like when running Screen Shot 2025-01-13 at 11 07 55 Screen Shot 2025-01-13 at 10 48 11

dfang avatar Jan 13 '25 03:01 dfang

Can I be assigned this issue?

floor-licker avatar Jan 21 '25 00:01 floor-licker

hi @floor-licker I think it's complex task, you could try to submit a PR if you want to help the project (it will need to pass QA / dev review)

nikspz avatar Jan 21 '25 08:01 nikspz

https://github.com/hummingbot/hummingbot/pull/7403

nikspz avatar Feb 13 '25 06:02 nikspz

Merged and implemented in 2.4.0

nikspz avatar Apr 29 '25 16:04 nikspz