

# Extending custom test environments in Device Farm
<a name="custom-test-environments-extending"></a>

AWS Device Farm enables configuring a custom environment for automated testing (custom mode), which is the recommended approach for all Device Farm users. The Device Farm custom mode enables you to run more than just your test suite. In this section, you learn how to extend your test suite and optimize your tests.

For more information about custom test environments in Device Farm, see [Custom test environments in AWS Device Farm](custom-test-environments.md).

**Topics**
+ [Setting a device PIN when running tests in Device Farm](custom-test-environments-extending-set-pin.md)
+ [Speeding up Appium-based tests in Device Farm through desired capabilities](custom-test-environments-extending-speed.md)
+ [Using Webhooks and other APIs after your tests run in Device Farm](custom-test-environments-extending-webhooks.md)
+ [Adding extra files to your test package in Device Farm](custom-test-environments-extending-files.md)