From 509ac2f1085e74c6a44253248f9f2fc3ac54d337 Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Sun, 20 May 2018 21:14:10 +0200 Subject: Improve and split tests (#12822) * Speed up some tests by not using IntegrationTestCase * fix test * split system tests into plugin & core * adjust travis submodule * Move Annotations system test to plugin * Move Transitions system test to plugin * fix tests * move PurgeDataTest to PrivacyManager plugin * Move some tests to Goal plugin * fix test * submodule update * Move tests to ecommerce plugin * adds a caching to prevent some duplicate api calls --- ...wMultipleConversionsPerVisit__Goals.get_day.xml | 15 + ...itTime.getVisitInformationPerServerTime_day.xml | 319 +++++++++++++++++++++ ...eConversionsPerVisit__VisitsSummary.get_day.xml | 14 + ...ithLogLinkVisitActionSegment__Goals.get_day.xml | 15 + ...kGoals_oneConversionPerVisit__Goals.get_day.xml | 15 + ...isitActionAndLogVisitSegment__Goals.get_day.xml | 15 + ...ithLogLinkVisitActionSegment__Goals.get_day.xml | 15 + 7 files changed, 408 insertions(+) create mode 100644 plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__Goals.get_day.xml create mode 100644 plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitTime.getVisitInformationPerServerTime_day.xml create mode 100644 plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitsSummary.get_day.xml create mode 100644 plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml create mode 100644 plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml create mode 100644 plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionAndLogVisitSegment__Goals.get_day.xml create mode 100644 plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml (limited to 'plugins/Goals/tests/System/expected') diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__Goals.get_day.xml new file mode 100644 index 0000000000..e7f13c883f --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__Goals.get_day.xml @@ -0,0 +1,15 @@ + + + 8 + 2 + 1332 + 100% + 8 + 2 + 1332 + 100% + 0 + 0 + 0 + 0% + \ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitTime.getVisitInformationPerServerTime_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitTime.getVisitInformationPerServerTime_day.xml new file mode 100644 index 0000000000..02554e3e24 --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitTime.getVisitInformationPerServerTime_day.xml @@ -0,0 +1,319 @@ + + + + + 1 + 2 + 5 + 0 + 3 + 363 + 0 + + + 2 + 1 + 666 + + + 2 + 1 + 666 + + + 2 + 2 + 0 + + + 1 + 1 + 0 + + + 1 + 1 + 0 + + + 8 + 1332 + visitServerHour==0 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==1 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==2 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==3 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==4 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==5 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==6 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==7 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==8 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==9 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==10 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==11 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==12 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==13 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==14 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==15 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==16 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==17 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==18 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==19 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==20 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==21 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==22 + + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + visitServerHour==23 + + \ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitsSummary.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitsSummary.get_day.xml new file mode 100644 index 0000000000..7168091d51 --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit__VisitsSummary.get_day.xml @@ -0,0 +1,14 @@ + + + 1 + 0 + 2 + 5 + 2 + 0 + 363 + 3 + 0% + 2.5 + 182 + \ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml new file mode 100644 index 0000000000..e7f13c883f --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_allowMultipleConversionsPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml @@ -0,0 +1,15 @@ + + + 8 + 2 + 1332 + 100% + 8 + 2 + 1332 + 100% + 0 + 0 + 0 + 0% + \ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml new file mode 100644 index 0000000000..2c07daa5b1 --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml @@ -0,0 +1,15 @@ + + + 3 + 2 + 1000 + 66.67% + 3 + 2 + 1000 + 66.67% + 0 + 0 + 0 + 0% + \ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionAndLogVisitSegment__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionAndLogVisitSegment__Goals.get_day.xml new file mode 100644 index 0000000000..580ead80ab --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionAndLogVisitSegment__Goals.get_day.xml @@ -0,0 +1,15 @@ + + + 3 + 2 + 1000 + 100% + 3 + 2 + 1000 + 100% + 0 + 0 + 0 + 0% + \ No newline at end of file diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml new file mode 100644 index 0000000000..580ead80ab --- /dev/null +++ b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit_withLogLinkVisitActionSegment__Goals.get_day.xml @@ -0,0 +1,15 @@ + + + 3 + 2 + 1000 + 100% + 3 + 2 + 1000 + 100% + 0 + 0 + 0 + 0% + \ No newline at end of file -- cgit v1.2.3