You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/02/15 17:13:12 UTC

[jira] [Resolved] (DMAP-17) Automated tests using our "production" device data

     [ https://issues.apache.org/jira/browse/DMAP-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved DMAP-17.
-------------------------------------

    Resolution: Fixed

As of revision 1446664, TestDeviceDataQueries [1] tests a few queries using our actual device data, provided the openddr/data module has been built before (mvn clean install).

We can use this as a basis for more extensive tests, which should probably be based on a text file listing user-agent values to test and the corresponding expected property values.

The TestSimpleQueries class runs similar tests, but on a much smaller set of test device data, so it runs faster.

[1] https://svn.apache.org/repos/asf/incubator/devicemap/trunk/openddr/java/src/test/java/org/apache/devicemap/simpleddr/test/TestDeviceDataQueries.java
                
> Automated tests using our "production" device data
> --------------------------------------------------
>
>                 Key: DMAP-17
>                 URL: https://issues.apache.org/jira/browse/DMAP-17
>             Project: DeviceMap
>          Issue Type: Test
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> With the latest DMAP-11 data donation, we can start creating automated tests that validate that data.
> I'll add some simple tests as a starting point.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira