cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Automated testing

rleir
17-Peridot

Automated testing

Hi all,

It has been a year since people talked here about automated testing so let's talk again. Do you have preferences between  Sikuli vs Selenium vs Watir vs Cucumber? For automated test runners, do you prefer  Jenkins vs Travis vs Circle-ci?

 

PTC/Thingworx folks please chip in, what do you use internally?

thanks -- Rick

ACCEPTED SOLUTION

Accepted Solutions
VladimirRosu
19-Tanzanite
(To:rleir)

Especially for cases like this, one of my colleagues, created an example CI chain based on Jenkins, complete with a testing framework based on ThingWorx. Ideally he wants to upgrade it to do CD with Solution Central, but it all depends on our internal workload. That is, the expectation is on the community to enhance.

The chain is available here: https://bitbucket.org/CBadici/thingworxjenkinspipeline/src/master/

 

Disclaimer: this is not a PTC supported CI chain, so you should not open Tech Support cases for it. It's an example that is ideal for an experienced DevOps team and less for beginners in the art of Git.

View solution in original post

4 REPLIES 4
Kaya
Emeritus
(To:rleir)

Hi Rick,

 

One recommendation we have is to use JUnit and integration tests (TestNg) for automated tests. It's also possible that there is a flavor of Selenium/cucumber tests for automating testing of UI. It could also be recommended to have all automated tests have jobs on your Jenkins build pipeline that get executed before approving the builds for release.

 

I also wrote a post on DevOps in ThingWorx that you can check out here.

 

-Kaya

VladimirRosu
19-Tanzanite
(To:rleir)

Especially for cases like this, one of my colleagues, created an example CI chain based on Jenkins, complete with a testing framework based on ThingWorx. Ideally he wants to upgrade it to do CD with Solution Central, but it all depends on our internal workload. That is, the expectation is on the community to enhance.

The chain is available here: https://bitbucket.org/CBadici/thingworxjenkinspipeline/src/master/

 

Disclaimer: this is not a PTC supported CI chain, so you should not open Tech Support cases for it. It's an example that is ideal for an experienced DevOps team and less for beginners in the art of Git.

Forgot to say that it does not contain UI tests, only functional/unit. But adding a Selenium test to Jenkins should not be rocketship work.

Vladimir

Very nice, thanks! 

cheers -- Rick

Announcements


Top Tags