This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Executing tests on different environments
Mikołaj Mański edited this page Jul 12, 2016
·
2 revisions
Each environment (e.g. develop, stable, staging) should be supported by separate instances.properties file. Environment selection should be handled on maven profile level
Project generated from archetype comes with one predefined profile:
<profiles>
<profile>
<id>integration</id>
<properties>
<configuration.paths>src/main/config/common;src/main/config/integration</configuration.paths>
</properties>
</profile>
</profiles>
To active profile in maven build add -Pintegration parameter.
mvn clean test -Pintegration
You can also override properties by passing -D option to maven.
mvn clean test -Dconfiguration.paths=src/main/experimental-config -Dwebdriver.type=chrome
Each environment (e.g. develop, stable, staging) should be supported by separate maven profile.
- Configuring Bobcat
- Selenium enhancements
- Cucumber enhancements
- Traffic analyzer
- Email support
- Reporting
- Cloud integration
- Mobile integration
- Executing tests on different environments
- Working with multiple threads
- Tips and tricks
- Authoring tutorial - Classic
- AEM Classic Authoring Advanced usage
- Siteadmin
- Sidekick
- Aem Component
- Working with author pages
- Working with Publish pages
- Advanced component interactions
- Working with Context Menu
- Using Aem Content Tree
- Aem Content Finder
- Storing component configurations
- Working with packages
- Jcr Support
- Authoring tutorial - Touch UI
- Adding and editing a component
- Sites management tutorial