Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Automate tests for running on ci/cd #50

Open
MaksPetrukhnoPI opened this issue Jun 5, 2022 · 0 comments
Open

[DRAFT] Automate tests for running on ci/cd #50

MaksPetrukhnoPI opened this issue Jun 5, 2022 · 0 comments
Assignees

Comments

@MaksPetrukhnoPI
Copy link

MaksPetrukhnoPI commented Jun 5, 2022

Objectives

For better performance, we can run auction request and om test cases on ci/cd . These tests are very crucial as they show network interaction between our sdk and server. In our prebid-mobile-autotests we run smoke tests and then request tests. All this tests run sequentially, which means that we need to wait for one another and it takes a lot of time. Moreover, due to some emulator circumstances or local machine issues some tests can fail. So with running request test cases on ci/cd, we could redistribute the load on our local machines and improve testing time and its quality. So in order to implement this approach we need the following steps:

  • Enabling proxy on android devices and real ios devices from command line.
  • Installing bmp certificates on android devices and real ios devices from command line.
  • Running appium server from command line.
  • Running requests group test cases from command line.
  • Configure properties file for setting device info and app location
  • Configure circle ci for running all these steps

What is more, we could connect this pipeline with prebid-mobile-android and prebid-mobile-ios pipelines. This will be a huge advantage because pushing new changes or pulling requests on these branches, can trigger autotests pipeline. If something breaks during upcoming changes, autotests will notice it and report. In that case our SDK developers will know about problems and bugs that occur, so that they can fix it immediately before merging. Basically we will have the following workflow:

Untitled Diagram drawio (1)

@MaksPetrukhnoPI MaksPetrukhnoPI self-assigned this Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant