Feature request #12265

Complete tests for QgsMapToolZoom

Added by Sandro Santilli over 9 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Tests Suite
Pull Request or Patch supplied:No Resolution:invalid
Easy fix?:No Copied to github as #:20450

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 9 years ago

  • Tracker changed from Bug report to Feature request

#2 Updated by Sandro Santilli over 9 years ago

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

#3 Updated by Nyall Dawson over 8 years 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