Feature request #12265

Complete tests for QgsMapToolZoom

Added by Sandro Santilli over 2 years ago. Updated over 1 year ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Tests Suite
Pull Request or Patch supplied:No Resolution:invalid
Easy fix?:No

Description

The class behavior is not fully tested. A single test for a very specific case is available a the time of writing in
https://github.com/qgis/QGIS/blob/master/tests/src/gui/testqgsmaptoolzoom.cpp

Absence of tests result in an higher risk of regressions being introduced, as happened in 2.8 (#12242)

History

#1 Updated by Sandro Santilli over 2 years ago

  • Tracker changed from Bug report to Feature request

#2 Updated by Sandro Santilli over 2 years ago

  • Target version changed from Version 2.8.1 to Future Release - Nice to have

#3 Updated by Nyall Dawson over 1 year ago

  • Resolution set to invalid
  • Status changed from Open to Closed

While I'd also like to see more tests here, I don't think this warrants a bug report. Otherwise we'd be opening these for 100's of classes across the codebase.

Also available in: Atom PDF