Skip to content

Commit

Permalink
REVERT: slow tag
Browse files Browse the repository at this point in the history
due to codecov no recognizing these tests

This reverts commit c19f341.
Revert "UPDATE: slow tag for controller tests"

This reverts commit b4e00ab.
Revert "ADD: gradle task for slow tests"

This reverts commit f22c8e3.
Revert "UPDATE: slow test task configure for gradle check task"

This reverts commit 34eb8f6.
Revert "UPDATE: gradle jacoco task to depend on test tasks"

This reverts commit b04f6e2.
Revert "TRY: integrate slow tests"

This reverts commit 586fc81.
  • Loading branch information
Marcel committed Dec 19, 2019
1 parent 586fc81 commit e0ab982
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ jobs:
script: ./gradlew check

after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash) -F slow
- bash <(curl -s https://codecov.io/bash)
15 changes: 2 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,7 @@ dependencies {
}

test {
useJUnitPlatform {
excludeTags 'slow'
}
}

task slowTest(type: Test) {
useJUnitPlatform {
includeTags 'slow'
}
check.dependsOn it
shouldRunAfter test
useJUnitPlatform()
}

apply plugin: 'java'
Expand Down Expand Up @@ -102,6 +92,5 @@ jacocoTestReport {
html.enabled = true
}
}
jacocoTestReport.dependsOn test
jacocoTestReport.dependsOn slowTest

check.dependsOn jacocoTestReport
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package segelzwerg.sporttooolbox.web.speed;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
Expand All @@ -17,7 +16,6 @@

@SpringBootTest
@AutoConfigureMockMvc
@Tag("slow")
public class SpeedControllerTest {

@Autowired
Expand Down

0 comments on commit e0ab982

Please sign in to comment.