arcade icon indicating copy to clipboard operation
arcade copied to clipboard

Tests: Ensure all core features have complete unit tests

Open einarf opened this issue 1 year ago • 2 comments

Seeing that we recently discovered a nasty bug in SpriteList.swap it's probably a good idea to do an additional pass on unit tests. This feature never actually had a unit test. I suspect both Sprite and SpriteList could need some checking. Possibly additional modules/classes should also be looked into. We can't test everything but testing the "inner core" well is at least mandatory.

The initial work is to map out what features have insufficient tests.

  • Sprite tests needs to be split up. We make separate modules for BasicSprite and Sprite. Rendering tests must go in separate module.
  • ... MORE ..

einarf avatar Jun 23 '24 20:06 einarf

Related: https://github.com/pythonarcade/arcade/issues/2130

benjamin-kirkbride avatar Jun 25 '24 03:06 benjamin-kirkbride

I did a lot of sprite unit test cleanup when looking at https://github.com/pythonarcade/arcade/issues/2122

einarf avatar Jun 27 '24 15:06 einarf