This project is for creating automated tests for verifying the functionality of MTA IDE plugin. This is an extension of windup_integration_test extensively created for coverage of IDEs. Currently below IDEs have been covered:
IDE | Version |
---|---|
Redhat Code Ready Studio | 12.18.0.GA |
Eclipse IDE for J2EE developers | 2020-09 |
VS Code | 1.54.1 |
Eclipse CHE | theia |
IntelliJ IDEA | 2021.1.3 |
Supported OS
Works on Linux/RHEL/Fedora with X11 windowing system enabled (does not work with Wayland scheme)
To get started with project in development mode or basic usage, follow the below steps:
Pre-requisites
- Python 3+ installed
- Respective IDE (to be tested) installed on local machine
- MTA IDE plugin installed in that IDE
- The project to be analysed is imported in IDE
- Selenium webdriver installed locally (chromedriver or geckodriver)
Sample project can be downloaded
Eclipse CHE setup
-
The workspace should be created before running test using devfile yaml
~/windup_ide_tests/src/conf/eclipse_che_conf.yaml
-
Use JIRA credentials for login, the same must be provided in config.json
~/windup_ide_tests/src/conf/config.json
Installation
-
Clone the forked repository and move to repo home
git clone https://github.com/<user>/windup-ide-tests.git cd windup-ide-tests
-
Create python3 virtual env
python3 -m venv .ide_env
-
Activate virtual env
source .ide_env/bin/activate
-
Install from setup
pip install .
-
Edit the config.json file and provide full path to the executable of respective IDE
cd ~/windup_ide_tests/src/conf
Contributing to the project
- Fork the repository
- Clone the forked repo
git clone https://github.com/<user>/windup-ide-tests.git
- Run the aforementioned installation steps
- Create new branch
git checkout -b <new_branch_name>
- Commit the changes
git commit -m 'Explanatory commit message'
- Push your changes to branch
git push origin <new_branch_name>
- Open new pull request
Distributed under Eclipse Public License. See LICENSE for more information.