Skip to content

Commit

Permalink
Rename some tests to match execution pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Dec 5, 2023
1 parent 021d22d commit 9708611
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.epam.reportportal.annotations.attribute.Attribute
import com.epam.reportportal.annotations.attribute.Attributes
import spock.lang.Specification

class FixtureAttributes extends Specification {
class FixtureAttributesSpec extends Specification {

@Attributes(attributes = @Attribute(key = "key", value = "value"))
def "my empty fixture"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package fail

import spock.lang.Specification

class FailsInDifferentMethod extends Specification {
class FailsInDifferentMethodSpec extends Specification {

def anotherFailedMethod() {
throw new IllegalStateException("Some test flow failure")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package fail
import spock.lang.FailsWith
import spock.lang.Specification

class FailsWithAnnotationFail extends Specification {
class FailsWithAnnotationFailSpec extends Specification {

@FailsWith(IllegalArgumentException.class)
def "simple test 1"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package fixtures

import spock.lang.Specification

class CleanupFixtureFailed extends Specification {
class CleanupFixtureFailedSpec extends Specification {

def cleanup() {
throw new IllegalStateException("Fail!")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package fixtures

import spock.lang.Specification

class CleanupFixture extends Specification {
class CleanupFixtureSpec extends Specification {

def cleanup() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package fixtures
import spock.lang.Rollup
import spock.lang.Specification

class SetupFixtureFailedParameters extends Specification {
class SetupFixtureFailedParametersSpec extends Specification {

def setup() {
throw new IllegalStateException("Fail!")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package fixtures

import spock.lang.Specification

class SetupFixtureFailedParametersUnroll extends Specification {
class SetupFixtureFailedParametersUnrollSpec extends Specification {

def setup() {
throw new IllegalStateException("Fail!")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package fixtures

import spock.lang.Specification

class SetupFixtureFailed extends Specification {
class SetupFixtureFailedSpec extends Specification {

def setup() {
throw new IllegalStateException("Fail!")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package fixtures

import spock.lang.Specification

class SetupFixture extends Specification {
class SetupFixtureSpec extends Specification {

def setup() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package ignore
import spock.lang.Ignore
import spock.lang.Specification

class TestOneFeatureIgnore extends Specification {
class TestOneFeatureIgnoreSpec extends Specification {

@Ignore
def "simple test 1"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package ignore
import spock.lang.IgnoreRest
import spock.lang.Specification

class TestRestFeaturesIgnore extends Specification {
class TestRestFeaturesIgnoreSpec extends Specification {

@IgnoreRest
def "simple test 1"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package testcaseid
import com.epam.reportportal.annotations.TestCaseId
import spock.lang.Specification

class PlainTestCaseId extends Specification {
class PlainTestCaseIdSpec extends Specification {

public static final String TEST_CASE_ID = "my_test_case_id"

Expand Down

0 comments on commit 9708611

Please sign in to comment.