Test coverage partially done for views plugins ( #1934122: Gmap Views tests. Needs extending and fixing follow-ups ) and only for forms with "Submit" default values via Views UI interface
But there are huge part of code without coverage and we should GTD

Good to see here code snippets from developers from gmap repository that possibly have to be covered first of all

extending test files

  • /tests/gmap.test
  • /gmap_test/tests/gmap_test.test
  • /gmap_test_extended/tests/gmap_test_extended.test

Follow-Ups

#1252310-1: Undefined index: location_settings
#1934122: Gmap Views tests. Needs extending and fixing follow-ups

ToDo

#1926360: Compatibility lost with Geofield (in gmap_plugin_style_gmap.inc).
#1929544: Fix for Relative Path from Root to gmap_markers.js to make Markers show
#1890460: Undefined index: style_plugin in gmap_views_ajax_data_alter() of gmap.module
#1928812: Notice: Undefined index: node in gmap_taxonomy_get_instances() (line 269 gmap_taxonomy.module
#1913268: gmap_plugin_style_gmap.inc (line 165) : Trying to get property of non-object in gmap_plugin_style_gmap->render().
#1928834: Clean info files of unneeded files declarations. Change module description.
#1912168: Warning "Undefined variable: bubbletext_field_obj in gmap_plugin_style_gmap->render()"
#923630: Markers not showing up on Gmaps no matter what: How to debug
#1907478: Gmap gmap style views plugin using non-existing property geofield

and others with Needs tests tag

Related issues

#1931088: [META] Fixing tests
#1890460: Undefined index: style_plugin in gmap_views_ajax_data_alter() of gmap.module

Examples

#1870764-81: Add an ajax command which makes it easy to use the dialog API in complex cases Good javascript testing example

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

podarok’s picture

Version: 7.x-2.x-dev » 7.x-2.4-beta2

proper version

Status: Needs review » Needs work

The last submitted patch, testfix.patch, failed testing.

podarok’s picture

commited pushed to 7.x-2.x and 7.x-1.x branches

podarok’s picture

Status: Needs work » Closed (fixed)

tag

podarok’s picture

Title: Fixing gmap.test » Extending gmap.test
Version: 7.x-2.4-beta2 » 7.x-2.x-dev
Status: Closed (fixed) » Needs review
FileSize
5.65 KB

addition to tests

podarok’s picture

FileSize
5.78 KB

yet one

podarok’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev

tag

podarok’s picture

#6: tests1.patch queued for re-testing.

podarok’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Status: Needs review » Fixed

pushed to 1.x 2.x

podarok’s picture

Status: Fixed » Needs review
FileSize
4.1 KB

provide tests for location_gmap_find_address module

#1252310-1: Undefined index: location_settings follow-up for exeption fix

Status: Fixed » Needs work

The last submitted patch, 1926846-10.patch, failed testing.

podarok’s picture

Status: Needs work » Fixed

#10 commited / pushed to 7.x-2.x-dev

podarok’s picture

FileSize
850 bytes

Status: Needs review » Needs work

The last submitted patch, 1926846-13.patch, failed testing.

podarok’s picture

#13 commited / pushed to 7.x-2.x-dev

podarok’s picture

Status: Needs work » Postponed
podarok’s picture

Category: bug » task
Priority: Major » Critical

this is critical task

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Title: Extending gmap.test » Extending gmap module *.tests
Assigned: podarok » Unassigned
Status: Postponed » Active

Better title and this is now common task. Anyone can extend and fix it
We already have tests at paths

  • /tests/gmap.test
  • /gmap_test/tests/gmap_test.test
  • /gmap_test_extended/tests/gmap_test_extended.test
podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

summary update

podarok’s picture

Title: Extending gmap module *.tests » Extending gmap module *.tests. Catching test gaps.

Test coverage partially done for views plugins and only forms with "Submit" default values via Views UI interface
But there are huge part of code without coverage and we should GTD

Good to see here code snippets from developers from gmap repository that possibly have to be covered first of all

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.

podarok’s picture

Issue summary: View changes

Updated issue summary.