Skip to content

Experimental test suite for automated testing of Autodesk Forge services.

Notifications You must be signed in to change notification settings

petrbroz/forge-continuous-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forge-continuous-testing

Experimental automated testing of Autodesk Forge services using Travis CI.

Branch Status
master Build Status
tests/rvt Build Status
tests/iam Build Status
tests/dwfx Build Status
tests/nwd Build Status

How To

Note: most of the following actions can only be taken by collaborators of this github repo. If you're not a collaborator yet, ask the admin of this repo to be invited.

Manually triggering a new test

Go to https://travis-ci.org/petrbroz/forge-continuous-testing, and choose the Trigger build option in the More options menu:

Custom test

Find the branch you want to test, and start the test using the Trigger custom build button.

Currently we're testing different types of file formats in their own branches (so that they can run as separate builds/jobs in Travis). For example, the tests/rvt branch configures a couple of sample Revit models in the .travis.yml config file.

Run custom test

Manually restarting a test

Go to https://travis-ci.org/petrbroz/forge-continuous-testing/builds, and find the failing build/test. On the build page you can choose to restart the entire build using the Restart build button, or just some of the build "jobs" (representing individual sample files of the tested file format):

Restart a test

Updating a test baseline

Follow the same steps as when manually triggering a new test, but customize the config to pass the --update flag to the test script. Currently the only test available is tests/model-derivative/basic.js (accepting a bucket key and an object key as its two parameters), so the modified config would look like this:

script: node tests/model-derivative/basic.js $FORGE_BUCKET_KEY $FORGE_OBJECT_KEY --update

Update test baseline

Skipping tests when updating the code

If you want to skip a build when submitting code changes, use [skip travis] or a similar phrase in your commit message.

About

Experimental test suite for automated testing of Autodesk Forge services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published