Built in Tests for labkey

LabKey Support Forum (Inactive)
Built in Tests for labkey jdarvin  2017-08-09 11:33
Status: Closed
 
Hi, I am trying to understand the built in tests for labkey. I have the stock version of labkey setup on my machine and I see the test folder inside the labkey project. I am not sure how to approach understanding what the built in tests are doing, or how to run these tests . Can you point me in the right direction to see where the selenium tests are located?
 
 
Jon (LabKey DevOps) responded:  2017-08-09 12:02
Hello,

When you say "stock version" are you talking about compiled binaries or building from the source code?

Working from binaries vs source code are two different things.

If you are working off of source code, the test folder would be tied to automated testing, such as Unit Testing, Functional Testing, and Integration Testing as described here:

https://www.labkey.org/Documentation/wiki-page.view?name=runningTests

The doc above goes over Functional Tests using the Selenium test framework.

Please note that Selenium doesn't support the latest version of Firefox at the moment, so if you are planning on doing Selenium testing on Firefox, you will need to use the Firefox ESR 45 version to test against.

Regards,

Jon
 
jdarvin responded:  2017-08-09 12:17
The documentation looks like it should help. Thanks
 
adam responded:  2017-08-09 14:28
Hi Judy,

In addition, we are happy to discuss our automated testing approach in an upcoming weekly status meeting, if you'd like. Not sure exactly where your interests lie, but some of our clients leverage our continuous integration infrastructure to test their custom modules on a regular basis.

Cheers,
Adam