diff between Jules and Jenkins - testing

I am trying to understand what is the difference between Jenkins and Jules ?
Is it only the version change?
researched on what is Jules and jenkins but did not find the correct solution

Jules is based on Jenkins 2.0 standards, where you can setup builds using .jenkins file and have a fancy UI (looks better than Jekins).
Jules is only used in the Organization you are currently working in as a CICD Pipeline (based on my work experience). Jenkins has become an industry standard for CICD pipeline.

Related

How can I create a testing environment for a project in gcp compute engine?

I am working on a project on GCP. It is a website that is live. It is running on a compute engine based on Ubuntu Linux. The problem I am trying to solve is how to create a live testing environment. Here is the flow of thoughts:
I have the live version that is working fine
I then create a feature that I want to deploy to the live version
But before deploying it, I want to test if the project will still work fine without errors on GCP.
Therefore, I want to find a way of deploying the test version of the project on gcp, and access it live, without tampering with the old version
Both of them need to be running live on GCP, so that I can see the contrast between the standard live version and the testing version
I have not tried anything yet. I am confused on where to start. I have checked out some proposed solutions online: Terraform and Docker mainly. But then I don't know how to go about it.
My expectation is that if I go to live-working-url.com, I get the stable working version of the project. Then be able to set up something like testing.live-url.com and see the test version. Both of these should be coming from the GCP compute engine.
Also, if there are other thoughts and ideas on how to work with testing in GCP, please share, they are highly appreciated
Thank you.

How to run e2e tests automatically?

I really don't know how to ask question to Google about this, so I excuse me that it is naive.
Our team is developing SPA application in ReactJS. We also do back-end programming for NodeJS. Our project recently got more e2e tests. They are written using webdriver.io packages. Everything works as expected but circa 30 tests run about 50 minutes. It is too long to pause developer work and force him to run tests.
We came with the idea that now when we have so many tests, we need to run them on separate computer (other than a developer's laptop, further I call it e2e-laptop).
So I programmed a bash script and installed Ubuntu on a e2e-laptop. My idea is, that developer who wants to run e2e test logs in on e2e-laptop with ssh, runs specified script with arguments (eg: --rev= specific git revision the tests should run on, --email= where to send Allure report) and logs out. After tests are done he gets Allure report in his mailbox.
This all sounds to me OK, but not very well. It works - it is like a dirty MVP. But what I really would like to give my team is the web browser based UI that gives the features my script has. I can imagine this software is hosted on e2e-laptop, every developer can open its webpage address in his local browser. Then after authorization, there are options: run all specs, run chosen specs, send report and more. It would be the best if that software could also allow simultaneous running of tests commissioned by multiple developers.
What software I need?
You need a continuous integration tool. https://stackify.com/top-continuous-integration-tools/
I recommend Jenkins.
I would first try to run your selenium tests headless in a docker container on your laptop. Once you are able to do that, use that same configuration in your docker container running in Bitbucket pipelines. It could actually be the same container and the same scripts. Then, developers can just make a branch and work with the tests on that branch. If only a certain subset of tests need to run, then the developer can make the necessary changes on his or her local branch to run those tests and push it up to Bitbucket. This should help with the configuration https://github.com/SeleniumHQ/docker-selenium.

How to integrate TestRail with Jest tests?

I'm running Jest integration tests on Jenkins and I want to integrate them with TestRail in order to automatically put test results to TestRail. In this way I will know easily how many tests are passed/failed?
Does anyone tried that?
I guess you are looking for something like this one https://github.com/zeljkosimic95/Jest-2-Testrail . Although your question is too old but it might help someone else. This is not official plugin but it may help you.
Adding a suggestion here, we should choose the tool after analyzing all the requirements in your software testing services and product. Because there is no official plugin for this except this https://gitlab.com/craydent/jest-testrail (haven't tried). But you still can do this without plugin with this library/code https://github.com/zeljkosimic95/Jest-2-Testrail
You can probably have a look at Agiletestware Pangolin solution which allows you to export results of your tests into TestRail automatically from popular CI systems.
In order to be able to upload test results, Pangolin requires you to create report in JUnit format which can be done by using https://github.com/jest-community/jest-junit
Disclaimer: I'm a developer of Agiletestware Pangolin

Can i have test management tool named Xray while i have older one named Zephyr?

In my project, test cases located in Jira Zephyr. I have some troubles with Zephyr as you know ( lack of preconditions for test cases, native support for BDD ...). So I decided to switch test management tool to Xray.
I haven't found any solution to migration my test cases from Zephyr to Xray.
After that new issue is:
Is there any problem if i install Xray to Jira account while Zephyr is staying on?
Both plugins uses the issue type "Test", so that's a problem. But you can configure anohter name for the issue type of one plugin, i.e. "zephyr test".
Those 2 tools are two different plugins for JIRA, so they can co-exists and be used in parallel (by the same or different teams).
In order to migrate data you have 3 ways:
Migrate by yourself (complicated)
Ask Xray to help you with the
migration
Ask a 3-rd party consultant/vendor company to help you
with this. Here are a few
https://www.servicerocket.com/
http://www.moveworkforward.com/
.. many more (just google)
Ask a consultant (me or somebody else)

Automated testing for tmLanguage and sublime-syntax files?

Is it possible to create automated tests for a *.tmLanguage or *.sublime-syntax file? What is the best practices for doing that?
I'd probably use SublimeLinter with plugins, since you get instant feedback while working on a file. xmllint works for *.tmLanguage, and pyyaml for *.sublime-syntax.
Personally, I'm using a gruntfile to test my packages, but that's not as integrated as using SublimeLinter. However, it can be used with Travis CI and the likes.