SATs Are Not Fit for Purpose

Imagine if the World Anti-Doping Agency suddenly announced an end to drug tests. The Olympics would go on as usual, world records would be smashed, athletics bodies would claim that the minority was…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Automated testing with Choreo

How to use Choreo to test your applications while developing

One important aspect that is tied into the development and deployment is the ability to test the code at will. Test automation is a key aspect of any software delivery process. If we think about large corporations such as Facebook, Google, or Amazon, they have built robust test frameworks so that they can release features an indefinite amount of times within a day without breaking the experience of billions of users. You don’t need to be of that scale to build a proper test automation system. But without such a framework, developers and QA engineers have to put a lot of effort to do manual testing, and the chance of bugs escaping this manual testing is much higher. Hence it is a must to have proper, automated testing if you are building enterprise-scale applications.

Choreo is a platform designed by developers for developers. It provides developers with the necessary tools to automate the testing while developing applications. We talked about the development and deployment features provided by Choreo in the first article.

Once the application is developed and deployed into the Choreo environment (production or pre-production), users can go into the “Test” phase. Testing needs to be done in the “Development” environment as well as in the “Production” environment to make sure that the application functions without any issues.

Choreo provides an integrated development lifecycle where development, deployment, testing, managing, and observing of Choreo components (e.g. API, Service, Trigger) can be easily done.

The figure below depicts the testing options provided by Choreo.

With Choreo, testing is integrated into the same deployment process. Once your code is deployed into the development environment, you can test your code from the Choreo interface itself. It provides 3 options to test the code.

OpenAPI Console

This provides a simple mechanism to test the API of the code with a sample key. This is useful for developer-level testing and it can be executed quickly. The figure below depicts the interface available under this option.

Figure: Choreo Testing with OpenAPI console

CURL

This option generates a CURL command that you can use on your computer to test the service. This is useful if you need to test the Choreo components via a remote computer such as your development machine. It provides options to include headers and parameters while generating the CURL command. The interface provided under this option is depicted below.

Figure: Choreo testing with CURL

Postman

This option is useful for doing full-blown, long-running, automated tests which is critical for production-grade services. If you have a postman account, you can connect that with Choreo and test the code using postman scripts. The figure below depicts the interface provided with this option.

This makes the life of the developer easier by reducing the time to set up different test tools and run them locally. Since the testing is integrated into the deployment process, you can make sure that whatever the code you just tested can be directly moved to the production environment without any manual intervention. This means that the quality of the code that goes into the production environment is guaranteed.

Once the testing is done, the Choreo components can be exposed to the consumers directly as APIs or add an additional “Management” layer that provides security and governance to these components. The next article discusses how you can utilize the “Manage” phase of the Choreo lifecycle to securely expose your services to internal and external users.

Add a comment

Related posts:

TOP 10 BEST Telegram Crypto Groups

These Telegram channels are in no particular order. One is better than the other depending on your goal. But in general, I found these telegram groups are most helpful for me personally. Place where…

Requesting Custom Suits For Ladies

For the majority years custom suits have been a help delighted in by numerous male chiefs, however the fit and look of custom suits can do ponders for most men, no place is a female partner more…

Genset Tidak Mau Hidup? Temukan Solusinya dengan Memahami 7 Faktor Penyebabnya

Penyebab generator tidak mau hidup perlu ada pemeriksaan lebih lanjut. Anda dapat melakukannya sendiri atau meminta bantuan servis. Beberapa faktor dapat menyebabkan generator mati, dan setiap…