You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/07 18:25:58 UTC

[jira] [Commented] (TC-52) Integration Tests for TO Client

    [ https://issues.apache.org/jira/browse/TC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15729480#comment-15729480 ] 

ASF GitHub Bot commented on TC-52:
----------------------------------

GitHub user dneuman64 opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/127

    [TC-52] Integration Tests for Traffic Ops Client

    The traffic ops client now has integration tests.  The integration tests validate the output of the Traffic Ops API vs the output of the client.  For information on running the tests, see the Readme.  
    
    This fixes [TC-52](https://issues.apache.org/jira/browse/TC-52)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dneuman64/incubator-trafficcontrol to-client-integration

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/127.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #127
    
----
commit 7e03a0b081d9e6307a7a186a02f80350dcc31c03
Author: David Neuman <da...@gmail.com>
Date:   2016-11-29T22:42:37Z

    initial commit of integration tests

commit 8d874f067c3136ae1d1726113dd22f7d5bc4129b
Author: David Neuman <da...@gmail.com>
Date:   2016-11-29T22:44:27Z

    update delivery_service to make create work

commit 8305180e974493b7b10cc6f8db5195f169a2348c
Author: David Neuman <da...@gmail.com>
Date:   2016-11-30T15:45:01Z

    add cdnId, typeId, and profileId to DeliveryService struct

commit 7e5f5ccecba260d741d8072af833a32a7bcf5685
Author: David Neuman <da...@gmail.com>
Date:   2016-11-30T16:01:18Z

    add ID to CDN

commit 2fd0493164821bdfdb0394003650f515b6bafa7e
Author: David Neuman <da...@gmail.com>
Date:   2016-11-30T16:09:23Z

    update Profile struct to include ID

commit 6a9a211d247503d5f7a61383df4a41f89095a0f2
Author: David Neuman <da...@gmail.com>
Date:   2016-11-30T17:19:50Z

    update profile test to log correct error for ID

commit 21697fe9a0ac919e5f50eac6d49a0282e1b75399
Author: David Neuman <da...@gmail.com>
Date:   2016-11-30T17:20:38Z

    update Type struct to return ID. Updated test to check for ID and UseInTable

commit 821fe9f9f0393977f8c6f37c21d1c0036b193011
Author: David Neuman <da...@gmail.com>
Date:   2016-11-30T17:34:21Z

    update deliveryservice to support actual Update response

commit df8378b7e1918b7412d4e9a48fbb60a40283d76e
Author: David Neuman <da...@gmail.com>
Date:   2016-11-30T18:34:53Z

    update client to always use method passed into it when sending requests to TO

commit 95aa06c580bec38b06470bdd787b4369bff0b071
Author: David Neuman <da...@gmail.com>
Date:   2016-12-01T16:06:38Z

    update DeliveryserviceServer to match API output

commit 38954ab8a8c7c67f491131ac232b33771c69468a
Author: David Neuman <da...@gmail.com>
Date:   2016-12-01T21:00:58Z

    update DeliveryserviceServer struct to match output from TO

commit 66c37662dc3dd8499591739005acd2cfdde8e4c3
Author: David Neuman <da...@gmail.com>
Date:   2016-12-01T22:22:17Z

    added tests for all deliveryservice methods

commit 2e770a8f0bd5f4ef12990efd91a70563655a28db
Author: David Neuman <da...@gmail.com>
Date:   2016-12-02T22:01:05Z

    add HardwareTest

commit 6c2516103642de0a4b089a068063a5b304d93b87
Author: David Neuman <da...@gmail.com>
Date:   2016-12-02T22:01:20Z

    add Parameter test

commit c81ea212fd40ff12506f97fbeeaa80ddcf75ddd3
Author: Dave Neuman <ne...@apache.org>
Date:   2016-12-02T22:21:59Z

    merge psql-rebase branch

commit e0c6ffbcda2c2d2f8ee9e226e74b23f46a5b6b92
Author: Dave Neuman <ne...@apache.org>
Date:   2016-12-07T16:59:32Z

    fix merge issues

commit 19da63731421148ed97f298d917cf8ad165fe529
Author: Dave Neuman <ne...@apache.org>
Date:   2016-12-07T17:04:55Z

    fix merge

commit 5599d3a82c8b51d817940ba208de360a2b7640eb
Author: Dave Neuman <ne...@apache.org>
Date:   2016-12-07T17:11:02Z

    fix merge issue

commit e73c73a5299044f725a8678fdda8fb96961e2802
Author: Dave Neuman <ne...@apache.org>
Date:   2016-12-07T17:32:14Z

    fix merge issues

commit c8a6224e4acd2887357fd18979dc01f691f90a47
Author: David Neuman <da...@gmail.com>
Date:   2016-12-02T22:01:05Z

    add HardwareTest

commit db17897d6095242d085f6781b68f310b54d49abe
Author: David Neuman <da...@gmail.com>
Date:   2016-12-02T22:36:11Z

    add profile test

commit 960b21dbb4b784aba4a67487a6379d177f1fad0e
Author: David Neuman <da...@gmail.com>
Date:   2016-12-05T17:41:58Z

    added test for servers

commit 77e27cb513a1d8d3d0a90ef95abc2e10495d39a7
Author: David Neuman <da...@gmail.com>
Date:   2016-12-05T20:24:00Z

    added stats summary test

commit acf45add41a65eeedff8236df7b79de9b2544ffd
Author: David Neuman <da...@gmail.com>
Date:   2016-12-06T20:08:59Z

    add test for traffic_monitor_config

commit 8dbf70d138601b4eec792f789fe32b137e658eed
Author: David Neuman <da...@gmail.com>
Date:   2016-12-06T22:11:25Z

    added Traffic Router Config Test

commit a2edbb9a310bdd6f5afa5844e86c844781d47b2e
Author: David Neuman <da...@gmail.com>
Date:   2016-12-06T23:08:29Z

    added test for type

commit fe2669d0c2decaaf1706935e71ec0bbb790b74a2
Author: David Neuman <da...@gmail.com>
Date:   2016-12-06T23:08:55Z

    added user test

commit 93aeb80f01361561078a07b3dba48c7fcbf17520
Author: Dave Neuman <ne...@apache.org>
Date:   2016-12-06T23:09:48Z

    update user response to have 'response' field to be consistent with other API responses

commit 3c6ccecea7be13f22228f06965d80378ab4de78b
Author: David Neuman <da...@gmail.com>
Date:   2016-12-06T23:12:05Z

    added Apache license to test files

commit 3ea73b28ca386485a664c8810c455f77edbb6124
Author: David Neuman <da...@gmail.com>
Date:   2016-12-06T23:24:03Z

    Added readme file for running the tests

----


> Integration Tests for TO Client
> -------------------------------
>
>                 Key: TC-52
>                 URL: https://issues.apache.org/jira/browse/TC-52
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops Client 
>            Reporter: David Neuman
>            Assignee: David Neuman
>            Priority: Blocker
>
> Currently, the traffic ops client relies on unit tests with fixtures for validation.  This means that a huge assumption is made that the fixture data matches what is actually returned from TO.  Integration tests should be created to validate that the client actually works with TO.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)