From 550a6d3439e95c52b2790d472d4fc9c70f307752 Mon Sep 17 00:00:00 2001 From: Steven Mortimer Date: Mon, 26 Mar 2018 23:30:04 -0400 Subject: [PATCH] Reduce tests that run to affect total time --- tests/testthat/test-ActivityGroupService.R | 2 ++ tests/testthat/test-ActivityService.R | 2 ++ tests/testthat/test-AdExclusionRuleService.R | 2 ++ tests/testthat/test-AdRuleService.R | 2 ++ tests/testthat/test-AudienceSegmentService.R | 2 ++ tests/testthat/test-BaseRateService.R | 2 ++ tests/testthat/test-CdnConfigurationService.R | 2 ++ tests/testthat/test-ContentBundleService.R | 2 ++ tests/testthat/test-ContentMetadataKeyHierarchyService.R | 2 ++ tests/testthat/test-ContentService.R | 2 ++ tests/testthat/test-CreativeService.R | 2 ++ tests/testthat/test-CreativeSetService.R | 2 ++ tests/testthat/test-CreativeTemplateService.R | 2 ++ tests/testthat/test-CreativeWrapperService.R | 2 ++ tests/testthat/test-LineItemCreativeAssociationService.R | 2 ++ tests/testthat/test-LiveStreamEventService.R | 2 ++ tests/testthat/test-MobileApplicationService.R | 2 ++ tests/testthat/test-NativeStyleService.R | 2 ++ tests/testthat/test-PackageService.R | 2 ++ tests/testthat/test-PlacementService.R | 2 ++ tests/testthat/test-PremiumRateService.R | 2 ++ tests/testthat/test-ProductPackageItemService.R | 2 ++ tests/testthat/test-ProductPackageService.R | 2 ++ tests/testthat/test-ProductService.R | 2 ++ tests/testthat/test-ProductTemplateService.R | 2 ++ tests/testthat/test-ProposalLineItemService.R | 2 ++ tests/testthat/test-ProposalService.R | 2 ++ tests/testthat/test-RateCardService.R | 2 ++ tests/testthat/test-ReconciliationLineItemReportService.R | 2 ++ tests/testthat/test-ReconciliationOrderReportService.R | 2 ++ tests/testthat/test-ReconciliationReportRowService.R | 2 ++ tests/testthat/test-ReconciliationReportService.R | 2 ++ tests/testthat/test-SuggestedAdUnitService.R | 2 ++ tests/testthat/test-WorkflowRequestService.R | 2 ++ vignettes/availability-and-reporting.Rmd | 1 + 35 files changed, 69 insertions(+) diff --git a/tests/testthat/test-ActivityGroupService.R b/tests/testthat/test-ActivityGroupService.R index 5967e2a..afb76b0 100644 --- a/tests/testthat/test-ActivityGroupService.R +++ b/tests/testthat/test-ActivityGroupService.R @@ -1,5 +1,7 @@ context("ActivityGroupService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ActivityService.R b/tests/testthat/test-ActivityService.R index d414fbd..e3248ed 100644 --- a/tests/testthat/test-ActivityService.R +++ b/tests/testthat/test-ActivityService.R @@ -1,5 +1,7 @@ context("ActivityService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-AdExclusionRuleService.R b/tests/testthat/test-AdExclusionRuleService.R index ec742cc..172204c 100644 --- a/tests/testthat/test-AdExclusionRuleService.R +++ b/tests/testthat/test-AdExclusionRuleService.R @@ -1,5 +1,7 @@ context("AdExclusionRuleService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-AdRuleService.R b/tests/testthat/test-AdRuleService.R index 704d65a..e9e2009 100644 --- a/tests/testthat/test-AdRuleService.R +++ b/tests/testthat/test-AdRuleService.R @@ -1,5 +1,7 @@ context("AdRuleService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-AudienceSegmentService.R b/tests/testthat/test-AudienceSegmentService.R index f2232da..6a94983 100644 --- a/tests/testthat/test-AudienceSegmentService.R +++ b/tests/testthat/test-AudienceSegmentService.R @@ -1,5 +1,7 @@ context("AudienceSegmentService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-BaseRateService.R b/tests/testthat/test-BaseRateService.R index 898a449..a1393e3 100644 --- a/tests/testthat/test-BaseRateService.R +++ b/tests/testthat/test-BaseRateService.R @@ -1,5 +1,7 @@ context("BaseRateService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-CdnConfigurationService.R b/tests/testthat/test-CdnConfigurationService.R index c20deab..6f2ce3c 100644 --- a/tests/testthat/test-CdnConfigurationService.R +++ b/tests/testthat/test-CdnConfigurationService.R @@ -1,5 +1,7 @@ context("CdnConfigurationService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ContentBundleService.R b/tests/testthat/test-ContentBundleService.R index 35e42eb..952d119 100644 --- a/tests/testthat/test-ContentBundleService.R +++ b/tests/testthat/test-ContentBundleService.R @@ -1,5 +1,7 @@ context("ContentBundleService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ContentMetadataKeyHierarchyService.R b/tests/testthat/test-ContentMetadataKeyHierarchyService.R index b21ed70..a8d5067 100644 --- a/tests/testthat/test-ContentMetadataKeyHierarchyService.R +++ b/tests/testthat/test-ContentMetadataKeyHierarchyService.R @@ -1,5 +1,7 @@ context("ContentMetadataKeyHierarchyService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ContentService.R b/tests/testthat/test-ContentService.R index cccf9df..f761cae 100644 --- a/tests/testthat/test-ContentService.R +++ b/tests/testthat/test-ContentService.R @@ -1,5 +1,7 @@ context("ContentService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-CreativeService.R b/tests/testthat/test-CreativeService.R index 2a54f05..c244e18 100644 --- a/tests/testthat/test-CreativeService.R +++ b/tests/testthat/test-CreativeService.R @@ -1,5 +1,7 @@ context("CreativeService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-CreativeSetService.R b/tests/testthat/test-CreativeSetService.R index 2fed283..8975810 100644 --- a/tests/testthat/test-CreativeSetService.R +++ b/tests/testthat/test-CreativeSetService.R @@ -1,5 +1,7 @@ context("CreativeSetService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.application_name = rdfp_options$application_name) diff --git a/tests/testthat/test-CreativeTemplateService.R b/tests/testthat/test-CreativeTemplateService.R index c8a55ff..71061b0 100644 --- a/tests/testthat/test-CreativeTemplateService.R +++ b/tests/testthat/test-CreativeTemplateService.R @@ -1,5 +1,7 @@ context("CreativeTemplateService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-CreativeWrapperService.R b/tests/testthat/test-CreativeWrapperService.R index 41306ef..50b6314 100644 --- a/tests/testthat/test-CreativeWrapperService.R +++ b/tests/testthat/test-CreativeWrapperService.R @@ -1,5 +1,7 @@ context("CreativeWrapperService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-LineItemCreativeAssociationService.R b/tests/testthat/test-LineItemCreativeAssociationService.R index dc4e91b..977b9ac 100644 --- a/tests/testthat/test-LineItemCreativeAssociationService.R +++ b/tests/testthat/test-LineItemCreativeAssociationService.R @@ -1,5 +1,7 @@ context("LineItemCreativeAssociationService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-LiveStreamEventService.R b/tests/testthat/test-LiveStreamEventService.R index 7cb34ba..42f4ce1 100644 --- a/tests/testthat/test-LiveStreamEventService.R +++ b/tests/testthat/test-LiveStreamEventService.R @@ -1,5 +1,7 @@ context("LiveStreamEventService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-MobileApplicationService.R b/tests/testthat/test-MobileApplicationService.R index 99f2de4..f566466 100644 --- a/tests/testthat/test-MobileApplicationService.R +++ b/tests/testthat/test-MobileApplicationService.R @@ -1,5 +1,7 @@ context("MobileApplicationService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-NativeStyleService.R b/tests/testthat/test-NativeStyleService.R index 2f477b7..aee34cb 100644 --- a/tests/testthat/test-NativeStyleService.R +++ b/tests/testthat/test-NativeStyleService.R @@ -1,5 +1,7 @@ context("NativeStyleService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-PackageService.R b/tests/testthat/test-PackageService.R index 724027a..958e794 100644 --- a/tests/testthat/test-PackageService.R +++ b/tests/testthat/test-PackageService.R @@ -1,5 +1,7 @@ context("PackageService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-PlacementService.R b/tests/testthat/test-PlacementService.R index 1b9c0bd..be33ffd 100644 --- a/tests/testthat/test-PlacementService.R +++ b/tests/testthat/test-PlacementService.R @@ -1,5 +1,7 @@ context("PlacementService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-PremiumRateService.R b/tests/testthat/test-PremiumRateService.R index 2909044..be5793d 100644 --- a/tests/testthat/test-PremiumRateService.R +++ b/tests/testthat/test-PremiumRateService.R @@ -1,5 +1,7 @@ context("PremiumRateService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ProductPackageItemService.R b/tests/testthat/test-ProductPackageItemService.R index bc18e4c..f79f3e5 100644 --- a/tests/testthat/test-ProductPackageItemService.R +++ b/tests/testthat/test-ProductPackageItemService.R @@ -1,5 +1,7 @@ context("ProductPackageItemService") +skip("Reduce Total Test Runtime")s + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ProductPackageService.R b/tests/testthat/test-ProductPackageService.R index 61d3ff9..7911df1 100644 --- a/tests/testthat/test-ProductPackageService.R +++ b/tests/testthat/test-ProductPackageService.R @@ -1,5 +1,7 @@ context("ProductPackageService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ProductService.R b/tests/testthat/test-ProductService.R index ba705a2..986a0e8 100644 --- a/tests/testthat/test-ProductService.R +++ b/tests/testthat/test-ProductService.R @@ -1,5 +1,7 @@ context("ProductService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ProductTemplateService.R b/tests/testthat/test-ProductTemplateService.R index a5e5dd2..91708a6 100644 --- a/tests/testthat/test-ProductTemplateService.R +++ b/tests/testthat/test-ProductTemplateService.R @@ -1,5 +1,7 @@ context("ProductTemplateService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ProposalLineItemService.R b/tests/testthat/test-ProposalLineItemService.R index 5d66b94..002cd7d 100644 --- a/tests/testthat/test-ProposalLineItemService.R +++ b/tests/testthat/test-ProposalLineItemService.R @@ -1,5 +1,7 @@ context("ProposalLineItemService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ProposalService.R b/tests/testthat/test-ProposalService.R index 9ffc142..a2d6821 100644 --- a/tests/testthat/test-ProposalService.R +++ b/tests/testthat/test-ProposalService.R @@ -1,5 +1,7 @@ context("ProposalService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-RateCardService.R b/tests/testthat/test-RateCardService.R index 517a98e..66e4362 100644 --- a/tests/testthat/test-RateCardService.R +++ b/tests/testthat/test-RateCardService.R @@ -1,5 +1,7 @@ context("RateCardService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ReconciliationLineItemReportService.R b/tests/testthat/test-ReconciliationLineItemReportService.R index bc0d728..701b308 100644 --- a/tests/testthat/test-ReconciliationLineItemReportService.R +++ b/tests/testthat/test-ReconciliationLineItemReportService.R @@ -1,5 +1,7 @@ context("ReconciliationLineItemReportService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ReconciliationOrderReportService.R b/tests/testthat/test-ReconciliationOrderReportService.R index 5cf0b9a..697e9af 100644 --- a/tests/testthat/test-ReconciliationOrderReportService.R +++ b/tests/testthat/test-ReconciliationOrderReportService.R @@ -1,5 +1,7 @@ context("ReconciliationOrderReportService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ReconciliationReportRowService.R b/tests/testthat/test-ReconciliationReportRowService.R index 33aef61..9070c35 100644 --- a/tests/testthat/test-ReconciliationReportRowService.R +++ b/tests/testthat/test-ReconciliationReportRowService.R @@ -1,5 +1,7 @@ context("ReconciliationReportRowService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-ReconciliationReportService.R b/tests/testthat/test-ReconciliationReportService.R index 67b3537..6f5816e 100644 --- a/tests/testthat/test-ReconciliationReportService.R +++ b/tests/testthat/test-ReconciliationReportService.R @@ -1,5 +1,7 @@ context("ReconciliationReportService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-SuggestedAdUnitService.R b/tests/testthat/test-SuggestedAdUnitService.R index ac5efaf..7e88fb0 100644 --- a/tests/testthat/test-SuggestedAdUnitService.R +++ b/tests/testthat/test-SuggestedAdUnitService.R @@ -1,5 +1,7 @@ context("SuggestedAdUnitService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/tests/testthat/test-WorkflowRequestService.R b/tests/testthat/test-WorkflowRequestService.R index 8a7d542..784fe5f 100644 --- a/tests/testthat/test-WorkflowRequestService.R +++ b/tests/testthat/test-WorkflowRequestService.R @@ -1,5 +1,7 @@ context("WorkflowRequestService") +skip("Reduce Total Test Runtime") + rdfp_options <- readRDS("rdfp_options.rds") options(rdfp.network_code = rdfp_options$network_code) options(rdfp.httr_oauth_cache = FALSE) diff --git a/vignettes/availability-and-reporting.Rmd b/vignettes/availability-and-reporting.Rmd index 0bb1c5d..e296d1b 100644 --- a/vignettes/availability-and-reporting.Rmd +++ b/vignettes/availability-and-reporting.Rmd @@ -121,6 +121,7 @@ single_item$targeting$inventoryTargeting <- as.list(as.data.frame(single_item$ta check.names=F, stringsAsFactors = F) ) +single_item$targeting$technologyTargeting <- NULL ``` #### Creating Datetimes in DFP