HybridTestFramework

Codacy Badge This project is using Percy.io for visual regression testing. CI
Discord Chat

Supported By

SupportedBy JetBrains

In the era of cloud-native world we cannot stick to a particular framework, however due to projects requirement we often need to evolve the existing testing solution in such a way so that it can cater multiple testing requirement, hence HybridTestFramework is targeting to create a bridge between the kind of legacy systems or the systems which are still in a transition phase of migrate to cloud with super cool cloud-native systems. Ita comprehensive and versatile testing framework designed to cover various aspects of software testing. Its purpose is to help developers and testers streamline their testing process and ensure the highest quality in their applications.

Don't forget to star the repository! Your support is what keeps me motivated!

Framework Capabilities

Setup & Tools

Getting Started

git clone 
cd 
# import project from intellij as a gradle project
gradle clean
gradle build
gradle task api
gradle task web
gradle task mobile
gradle allureReport
gradle allureServe

Write your first user journey

Create new class and name as the TC00*_E2E_TEST-***

Spin-up chrome, firefox, selenium hub and OWASP proxy server

docker-compose up -d

Complete infrastructure creation for local run

docker-compose -f docker-compose-infra up -d

Spin-up four additional node-chrome/firefox instances linked to the hub

docker-compose scale chrome=5
docker-compose scale firefox=5

Spin-up kafka instances

docker-compose -f docker-compose-kafka.yml up
docker-compose -f docker-compose-kafka.yml down --rmi all

Spin-up selenium hub in kubernetes instance

kubectl apply -f selenium-k8s-deploy-svc.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml
kubectl proxy
kubectl describe secret -n kube-system | grep deployment -A 12
## To delete deployments
kubectl delete deployment selenium-node-firefox
kubectl delete deployment selenium-node-chrome
kubectl delete deployment selenium-hub

navigate to http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

Browserstack Execution Gif

browserstack