Selenium WebDriver Testing

Wednesday, 17 March 2021

spock and groovy

 

1. spock configuration

  • SpockConfig.groovy


2. define annotation in groovy file

@Target([ElementType.TYPE, ElementType.METHOD])

@Retention(RetentionPolicy.RUNTIME)

@interface myTag {

}


reference

1. spock include/exclude specification based on annotation

Posted by Peter at 20:34
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Peter
View my complete profile

Blog Archive

  • ►  2025 (1)
    • ►  July (1)
  • ►  2023 (8)
    • ►  May (1)
    • ►  March (6)
    • ►  February (1)
  • ►  2022 (1)
    • ►  April (1)
  • ▼  2021 (5)
    • ►  December (1)
    • ►  June (1)
    • ►  April (1)
    • ▼  March (2)
      • intellij
      • spock and groovy
  • ►  2020 (6)
    • ►  June (1)
    • ►  May (2)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2019 (2)
    • ►  October (1)
    • ►  January (1)
  • ►  2018 (8)
    • ►  November (1)
    • ►  October (1)
    • ►  July (1)
    • ►  June (2)
    • ►  April (2)
    • ►  March (1)
  • ►  2017 (13)
    • ►  November (2)
    • ►  October (2)
    • ►  July (2)
    • ►  June (4)
    • ►  May (1)
    • ►  February (2)
  • ►  2016 (6)
    • ►  September (3)
    • ►  July (1)
    • ►  February (2)
  • ►  2015 (18)
    • ►  December (3)
    • ►  November (4)
    • ►  September (6)
    • ►  August (5)
Simple theme. Powered by Blogger.