• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

dipjyotimetia/HybridTestFramework: End to End testing of Web, API, Cloud, Events ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

dipjyotimetia/HybridTestFramework

开源软件地址:

https://github.com/dipjyotimetia/HybridTestFramework

开源编程语言:

Java 94.0%

开源软件介绍:

HybridTestFramework

Codacy Badge This project is using Percy.io for visual regression testing. CI CodeQLAnalysis
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.

Framework Capabilities

  • Cross browser testing support.
  • Added browserstack support for CrossBrowser testing.
  • Running tests in docker containers selenium grid.
  • Running tests in AWS DeviceFarm selenium grid.
  • Running tests in selenium server in docker containers.
  • Security testing using OWASP, running in docker container.
  • Rest Api and GraphQL testing support powered by RestAssured.
  • gRPC api testing support using native gRPC=java library.
  • Event driven microservice testing based on pubsub model.
  • Support for Kafka, Cloud Pubsub, AWS SNS testing and continue evolving.
  • Visual regression testing using percy.io.
  • Accessibility testing using axe-selenium.
  • Stubbed api testing using WireMock.
  • Can send logs to ElasticSearch for kibana dashboard visualization.
  • Database testing support.
  • Kubernetes support.

Setup & Tools

Getting Started

$ git clone 
$ cd 
$ import project from intellij as a gradle project
$ gradle clean
$ gradle build
$ gradle task E2E
$ gradle allureReport
$ gradle allureServe

Write your first user journey

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

  • Provide jira link in @Link
  • Provide all the api components as @Feature
  • Provide test severity and description
  • Write test
  • Use CatchBlock in try/catch section

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap