9
Testing spatial methods in SQL Server 11.0 Branislav Uzelac Nemanja Matkovic Microsoft Development Center Serbia Danica Porobic EPFL Lausanne, Switzerland

Testing spatial methods in SQL Server 11.0

  • Upload
    sharis

  • View
    51

  • Download
    0

Embed Size (px)

DESCRIPTION

Testing spatial methods in SQL Server 11.0. Branislav Uzelac Nemanja Matkovic Microsoft Development Center Serbia. Danica Porobic EPFL Lausanne, Switzerland. Introduction to Spatial. Geometry Geography. Testing strategy at a glance. Input Data. Verification methods. Testing methods. - PowerPoint PPT Presentation

Citation preview

Page 1: Testing spatial methods in  SQL  Server 11.0

Testing spatial methods in SQL Server 11.0

Branislav UzelacNemanja Matkovic

Microsoft Development Center Serbia

Danica Porobic

EPFL Lausanne, Switzerland

Page 2: Testing spatial methods in  SQL  Server 11.0

Introduction to Spatial

• Geometry

• Geography

Page 3: Testing spatial methods in  SQL  Server 11.0

Testing strategy at a glanceInput Data

Testing methodsVerification

methodsWorld data

Reference library

Static cases

Generated Data

“Exact equal”

Identity cases

Transformed World data “Approximate

equal”

Repro minimization

Minimize

File a bug!

Page 4: Testing spatial methods in  SQL  Server 11.0

Data generators• Objects tailored for specific aspects of testing

Page 5: Testing spatial methods in  SQL  Server 11.0

Data generators

Page 6: Testing spatial methods in  SQL  Server 11.0

Testing strategy

• Mathematical identities

BABA

ABBABABA \\

Identity formula = = = A / B = B / A

= u

A B

Page 7: Testing spatial methods in  SQL  Server 11.0

Minimization of bug repro steps

• Large objects may have thousands of points• Hard to analyze and pinpoint the problem• Solution: minimize!

Page 8: Testing spatial methods in  SQL  Server 11.0

Minimization of bug repro steps

• Success rate

72%

28%

Successfully minimized Failed to minimize

04080

120160