Sugar 7 test tools now available!

Do you write unit tests for your Sugar customizations?

Do you performance test your Sugar on-site deployments?

Every developer knows they should be building unit tests and performance tests but sometimes it is just too hard to get started from nothing.  Well now SugarCRM Engineering is going to make it easy for you!

The Sugar 7 unit test suite and performance test frameworks that we use to develop Sugar 7 are now available to current customers and partners via Github!

This is the first release in a new effort to provide enhanced standardized development tooling and automation to the Sugar Developer community.

At this time, we are only releasing these tools to existing Sugar Customers and Sugar Partners.  So these private Github repositories require that you are logged in using your Github account in order to access them.  You may also need to request access from SugarCRM if you cannot access these repositories currently.

In the coming weeks, we will be posting step-by-step tutorials for creating Sugar 7 unit tests and custom JMeter scenarios. So stay tuned!

More details below.

Sugar 7.x Unit Test repository

Our JavaScript unit tests are built using Jasmine.  Our PHP unit tests were built using PHPUnit.https://github.com/sugarcrm/unit-tests

Check out the README for getting tests installed and running in your development environment.  We also have a short NEW_TESTS guide that will help guide you in creating your own unit tests.

Sugar 7.x Performance Test repository

Additionally, we are making available the Apache JMeter based performance test framework for load testing your Sugar 7 on-site deployments.https://github.com/sugarcrm/performance

Check out the README for getting your development environment setup and for running the existing JMeter scenarios.  You can adapt our stock JMeter scenarios to create your own test scenarios.

Requesting Access

Some partner developers will find that they already have access to the above repositories.  However, if you get a 404 screen when you click the links above then you do not yet have access.If you are a current Sugar Customer or Sugar Partner, please request access here.

Again, you can only get access to these repositories at this time if you work for a current Sugar Customer or Sugar Partner.

Any questions/concerns/accolades can be e-mailed to developers@sugarcrm.com.

Parents Comment Children