Closed vikramvi closed 6 years ago
Hi Vikram,
The answer to majority of your questions is optimus jar that the template project is dependent on. You would have seen that in the gradle dependencies. Currently the source code for optimus is in a private repo as we are in the process of cleaning it up a little before making it public on github. Should be out in a week or so. Not only optimus, there are a bunch of other related projects that will be made public:
Meanwhile, here is a brief architecture diagram that you can refer to understand what's going behind the scene.
Thanks @sukesh15 for detailed info. I will wait for other repos to be public in few days.
As I'm also investing time in doing similar things, would like to put joint efforts instead of working on similar problems separately.
Regards, Vikram
@sukesh15
Please let me know by when you are planning to open source source code for optimus ?
wrt your post https://discuss.appium.io/t/alternative-to-selenium-grid-for-running-appium-tests-in-parallel/18025 2.1 what does you mean by "...these devices, distributed or fragmented"
Does optimus framework takes care of below 3.1 assigning test cases to available nodes at run time ? 3.2 OR it creates test runner for each of the test classes / feature file and assign to each of the nodes ?
I'm as well trying to solve same problems at my end, but it will good to put minds together on single framework, instead of working separately :)
Thanks, Vikram
@vikramvi
We are almost there, all the code should get published latest by mid next week. Will keep the group posted.
With respect to running tests in parallel, we have seen teams asking for either or both of the following ways:
Having said this, optimus allows doing both of the above as a pre-configured task. You just need to connect devices and choose to run the task that you need.
Optimus assignment of tests:
Firstly, using optimus every tests runs in its own container. So every test has its own appium server instance and driver instance that is created dynamically at run time. The number of test run threads are created based on number of connected and configured devices.
Now about assignment of test:
@sukesh15 thanks again for detailed info. Once source code repo is live, I will submit PR for documentation ( Q&A ) with above clarifications from you. As it'll be very useful to others as well.
@vikramvi and everyone else following up on this, thanks a lot for all your patience. We have published all the repos on our testvagrant github page here, a total of 8 repositories. We have consciously tried to follow a decentralised approach in terms of the whole structuring of the code.
Also, attaching a diagram to briefly explain how the projects are grouped and their responsibility. Feel free to reach out in case of any questions/clarifications/feedback/suggestions.
@sukesh15 Thanks a ton for sharing this info, I will go through it and get back in case of any doubts.
Hi,
Please clarify below
I tried searching the repo but didn't find answers
Thanks & Regards, Vikram