You can run the test ether through gradle task or through sbt.
Steps on Mac through SBT:
- checkout test repo from https://github.com/UKGovernmentBEIS/rifs-test
- cd to project root folder grantsFunding-web-test on command prompt
- type command →
/.sbt
- type command →
clean
- type command →
test:compile
- type command →
testOnly uk.gov.bis.grants.acceptanceTest.AcceptanceTest
Now you should see test running on your machine.
- checkout test repo from https://github.com/UKGovernmentBEIS/rifs-test
- cd to project root folder grantsFunding-web-test on command prompt
- type command →
gradle clean test
- type command →
gradle test -Dtest.single=AcceptanceTest
- Connect VPN Howto: Connect to the VPN
- Open IntelliJ and Open File>Settings
- Check whether you have Cucumber for Java and Gherkin installed.
- Open IntelliJ and Open File>Project Structure
- Select Project and Set Java 1.8
- Clone the project
git clone https://github.com/UKGovernmentBEIS/rifs-test
- Run Tests in command prompt
gradle clean test
gradle test -Dtest.single=AcceptanceTest
- Run tests in IntelliJ
- In IntelliJ, navigate to
rifs-test\grantsFunding-web-test
and click OK. - Right click on .feature file and click Run