canvas-lms/build/new-jenkins/library
Aaron Ogata f87f9b72e7 report feature flag changes for approval
refs DE-777

Change-Id: I4bfa74ec75894eb93660e2e8ef0e1d75ec51d927
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/269865
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com>
Reviewed-by: Ryan Norton <rnorton@instructure.com>
Product-Review: Ryan Norton <rnorton@instructure.com>
QA-Review: Aaron Ogata <aogata@instructure.com>
2021-07-26 13:40:27 +00:00
..
test/integration/groovy fix/skip linter rule issues 2021-05-14 17:37:29 +00:00
vars report feature flag changes for approval 2021-07-26 13:40:27 +00:00
.gitignore add end to end testing 2021-03-30 17:10:48 +00:00
README.md add end to end testing 2021-03-30 17:10:48 +00:00
build.gradle.kts add end to end testing 2021-03-30 17:10:48 +00:00

README.md

End to End testing

End to End testing framework for canvas-lms Jenkinsfiles For more information about the e2e testing framework take a look JenkinsPipelineUnit

Getting Started

First, you need to install JDK 8:

$ brew tap AdoptOpenJDK/openjdk
$ brew cask install adoptopenjdk8

Install gradle

Install gradle:

brew install gradle

Install gradle wrapper

To install gradle wrapper:

$ GRADLE_WRAPPER_DIR="/path/to/install/gradlewrapper/"
$ mkdir -p $GRADLE_WRAPPER_DIR
$ cd $GRADLE_WRAPPER_DIR
$ gradle wrapper
$ echo "export PATH=$GRADLE_WRAPPER_DIR:\$PATH" >> ~/.bashrc
$ source ~/.bashrc

For further information: gradlewrapper

Running Tests

$ cd /path/to/canvas-lms/build/new-jenkins/library
$ gradlew integrationTest

To run a specific file

$ cd /path/to/canvas-lms/build/new-jenkins/library
$ gradlew integrationTest --tests <classname> # where classname is RebaseHelperTest for example

To force a re-run a specific file

$ cd /path/to/canvas-lms/build/new-jenkins/library
$ gradlew integrationTest --tests <classname> --info --rerun-tasks # where classname is RebaseHelperTest for example

Help & Support

If you run into any issues, please don't hesitate to reach out to #devx!