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

Smoke Test Dev Review #29841

Closed
7 of 17 tasks
michelkaporin opened this issue Jun 29, 2017 · 8 comments
Closed
7 of 17 tasks

Smoke Test Dev Review #29841

michelkaporin opened this issue Jun 29, 2017 · 8 comments

Comments

@michelkaporin
Copy link
Contributor

michelkaporin commented Jun 29, 2017

It would be great if each of you can familiarise yourself with smoke test area that you are responsible of (this involves code review, general automated smoke test operation). Smoke test areas are defined as here - https://github.com/Microsoft/vscode/wiki/Smoke-Test.

This is required to ensure we reduce any potential flaws in our smoke tests. Moreover, going further you may need to implement some tests if you add new feature to VS Code, or redesign some of existing smoke test parts due to any UI changes. Hence, it is important that you are familiar with the way automated smoke test is working now.

Here is a general readme on the code - https://github.com/Microsoft/vscode/tree/master/test/smoke.

When reviewing your area make sure you understand:

  • Code architecture
  • What to do when smoke test fails (looking it up on VSTS website, downloading test artifacts after build has finished, debugging)
  • Weak points

Also think of the way you would improve the smoke test, and write your thoughts here. Please check yourself off once you became familiar with it.

All feedback is welcome and appreciated, skepticism should be transformed into suggestions together with contribution to automated smoke test implementation, ensuring it is always reliable! 🙂

@michelkaporin
Copy link
Contributor Author

michelkaporin commented Jun 29, 2017

I haven't mentioned it anywhere else, hence adding it here.

If you see test failure that you cannot reproduce locally, you might want to check out screenshots generated by smoke test. You can do it on VSTS websites, by going to build and dowloading build artifacts.

image

@jrieken jrieken self-assigned this Jun 29, 2017
@jrieken jrieken added this to the July 2017 milestone Jun 29, 2017
@bpasero bpasero self-assigned this Jun 29, 2017
@sandy081 sandy081 self-assigned this Jun 29, 2017
@Tyriar Tyriar self-assigned this Jun 30, 2017
@jrieken jrieken removed their assignment Jul 18, 2017
@bpasero bpasero removed their assignment Jul 19, 2017
@bpasero
Copy link
Member

bpasero commented Jul 19, 2017

Multi root smoke test: #31059

@roblourens
Copy link
Member

@roblourens roblourens removed their assignment Jul 31, 2017
@michelkaporin
Copy link
Contributor Author

@roblourens it indicates KEYUP event to the webdriver.

@roblourens
Copy link
Member

I see, a helper for that would be useful

@egamma egamma closed this as completed Aug 2, 2017
@egamma
Copy link
Member

egamma commented Aug 2, 2017

Closing - the internship of @michelkaporin is over and we are now on our own 😄

@weinand
Copy link
Contributor

weinand commented Aug 8, 2017

Some smoke tests depend on each other. e.g. a git test depends on an exact number of created or modified files. If you disable a test that creates or modifies files, you will have to adapt the git test, other wise it will fail.

@michelkaporin
Copy link
Contributor Author

@weinand this is correct, as the automated smoke test was implemented with the same scenario as in manual smoke test we did before. The latter one had the same dependency as you've mentioned above. If we split each area not to be dependent, we lose end-to-end scenario, thus reducing scope of testing. As a solution every test can become self-contained, but the time it would take to perform such tests would be much bigger.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.