TrelloApisRestAssured is a test automation framework designed to interact with Trello's API through RESTful requests. It facilitates testing functionalities for creating, retrieving, updating, and deleting resources using RestAssured library.
- Technologies Used
- Prerequisites
- Overview
- Installation
- Project Structure
- Running Tests
- Conclusion
- Contact
Before diving into the project, ensure you have the following prerequisites:
- Java (Version 8 or higher).
- Maven for project management.
- An IDE like Eclipse or IntelliJ.
- Selenium WebDriver (Java bindings).
- RestAssured.
- TestNG.
- Optionally, Allure Reports for enhanced reporting.
TrelloApisRestAssured is a test automation framework tailored for interacting with Trello's API. It provides a structured approach to testing and validating various API functionalities, ensuring reliability and efficiency in the testing process.
To set up the project, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/Mochxd/TrelloApisRestAssured.git
-
Open the project in your preferred Java IDE (e.g., IntelliJ, Eclipse).
-
Install the required dependencies (Selenium WebDriver, TestNG, RestAssured) using Maven. You can do this by right-clicking on the project and selecting "Maven" -> "Update Project."
The project structure is organized as follows:
EndPoints
: Contains classes defining API endpoints.URLS.java
: Defines base URLs for API requests.
Payload
: Package containing classes for payload data.PayLoad.java
: Defines the structure of a user object.
Tests
: Contains test automation scripts.Base
: Contains base test classes or utility classes shared across different test classes.Board
: Contains tests related to Trello boards.Card
: Contains tests related to Trello cards.CheckItem
: Contains tests related to Trello check items.Checklist
: Contains tests related to Trello checklists.List
: Contains tests related to Trello lists.
utilities
: Package containing utility classes.DataProviders.java
: Provides data for data-driven tests.ExcelFileUtilities.java
: Contains methods for interacting with Excel files.
TestData
: Package containing test data.BoaedData.xlsx
: Excel spreadsheet containing board data.
Tests are executed using TestNG. You can monitor the progress in your IDE's console.
TrelloApisRestAssured offers a comprehensive framework for automating interactions with Trello's API. By following the provided installation instructions, you can quickly set up the project and begin testing Trello API functionalities efficiently.
For any queries or assistance, feel free to contact me via email at [email protected]. Your feedback and suggestions are greatly appreciated.