DocumentationCommerceVideos and Tutorials

Testing Locally

Last update: June 28, 2023
  • Topics:
  • API Mesh
  • App Builder
  • Extensibility
  • Tools and External Services
  • Backend Development

CREATED FOR:

  • Beginner
  • Intermediate
  • Developer

Learn how to locally test your new Adobe Developer App Builder application.

Who is this video for?

  • Developers new to Adobe Commerce with limited experience using Adobe App Builder who are ready to test their first Adobe Developer App Builder app.

Video content

  • Different levels of testing
  • Unit tests
  • E2E test
  • Manual test

video poster

https://video.tv.adobe.com/v/3416594?quality=12&learn=on

Transcript

In this video, we’ll talk about how to test locally your application. We have different levels of testing that we can run to make sure the application is running as expected.

The first test we can run are the unit tests. They can be launched with the aio app test command. The end-to-end test can be launched with the same command, adding --e2e at the end. Finally, we have the manual testing and visualization of your application. You can run it using the aio app run command. You’ll be able to access a localhost through the 9080 port in general, if it’s available. Otherwise, the command logs will specify the port.

App Builder - Build your First App related pages

  • Overview
  • The .env file
  • The app.config.yaml file
  • actions folder
  • test folder
  • web-src folder
  • Testing Locally
  • Testing Using App Builder URL
  • Conclusion
  • Sample Module source code
recommendation-more-help
3a5f7e19-f383-4af8-8983-d01154c1402f