AsherGlick / Burrito

An overlay tool for Guild Wars 2 that works on linux
GNU General Public License v2.0
75 stars 18 forks source link

Added a test for missing texture files #321

Closed klingbolt closed 5 days ago

klingbolt commented 6 days ago

This test does not have files to support the texture paths.

Double errors are expected as there is a check when writing the proto and a check when writing the xml

AsherGlick commented 6 days ago

What is the purpose of this test? I dont see any associated bug or fix related to it.

klingbolt commented 5 days ago

What is the purpose of this test? I dont see any associated bug or fix related to it.

The bug I was trying to was eventually solved by #320 I had two purposes for this.

AsherGlick commented 5 days ago

Unit tests or integration tests are not generally a good place to put performance tests. Performance tests are by definition slow and will just end up slowing down the unit tests.

Ensuring that the expected behavior occurs as described can be done with a smaller better named test then the one written in this PR. Effectively this test is just checking the value of IconFile 100 times. Which would be the same test if it was done a single time instead.

klingbolt commented 5 days ago

Makes sense. I'll change this to a smaller test then