File tree 2 files changed +16
-1
lines changed 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,19 @@ Spring application entry point and configuration.
120
120
The functional tests are located in ` aat ` folder. The tests are written using
121
121
befta-fw library. To find out more about BEFTA Framework, see the repository and its README [ here] ( https://github.com/hmcts/befta-fw ) .
122
122
123
+ Will run all the FT's:
124
+
125
+ ./gradlew functional
126
+
127
+ ##### Some Functional Tests
128
+ Will run both F-105 and F-110:
129
+
130
+ ./gradlew functional -P tags="@F-105 or @F-110"
131
+
132
+ Will run only S-110.1:
133
+
134
+ ./gradlew functional -P tags="@S-110.1"
135
+
123
136
## LICENSE
124
137
125
138
This project is licensed under the MIT License - see the [ LICENSE] ( LICENSE.md ) file for details.
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ task smoke(type: Test) {
87
87
outputs. upToDateWhen { false }
88
88
}
89
89
90
+ def tags = (findProperty(' tags' ) == null ) ? ' not @Ignore' : ' (' + findProperty(' tags' ) + ' ) and not @Ignore'
91
+
90
92
task functional (type : Test ) {
91
93
description = ' Executes functional tests against the CCD Definition Store Instance just deployed'
92
94
setTestClassesDirs(sourceSets. aat. output. classesDirs)
@@ -112,7 +114,7 @@ task functional(type: Test) {
112
114
args = [
113
115
' --threads' , ' 1' , // current definition-store tests do not support multiple threads
114
116
' --plugin' , " json:${ rootDir} /target/cucumber.json" ,
115
- ' --tags' , ' not @Ignore ' ,
117
+ ' --tags' , " ${ tags } " ,
116
118
' --glue' , ' uk.gov.hmcts.befta.player' , ' src/aat/resources/features'
117
119
]
118
120
jvmArgs = [ ' --add-opens=java.base/java.lang.reflect=ALL-UNNAMED' ]
You can’t perform that action at this time.
0 commit comments