Java:软件测试员的面试问题?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1555816/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-12 14:04:39  来源:igfitidea点击:

Java: Interview questions for software tester?

javatesting

提问by cc.

These days I have an interview for the position: Software Testing Engineer.

这几天我在面试这个职位:软件测试工程师。

Any ideas what questions might pop to the interview? Any tips?

有什么想法可能会出现在面试中的问题吗?有小费吗?

回答by Jim

How do you go about testing software?

你是如何进行软件测试的?

Here's a link I found with a list of interview questions you might be interested in: http://www.buzzle.com/articles/software-testing-interview-questions.html

这是我找到的包含您可能感兴趣的面试问题列表的链接:http: //www.buzzle.com/articles/software-testing-interview-questions.html

回答by Pedro Estrada

I like this one: what is the difference between verification and validation?

我喜欢这个:验证和验证之间有什么区别?

回答by Xinus

What is software testing ?

什么是软件测试?

回答by akf

a Java-specific question for a tester would be (targeting the awareness of Exceptions)

测试人员的 Java 特定问题是(针对异常的意识)

  • what do you look for when there is a problem with the software you are testing?
  • 当您正在测试的软件出现问题时,您会寻找什么?

回答by Denis Tulskiy

What part does testing takes in software development cycle? (You start writing tests the day you start project and put some of your best engineers to do that. When the project is almost done you test it)

测试在软件开发周期中占据什么位置?(你在开始项目的那天开始编写测试,并让一些最好的工程师来做。当项目快完成时,你测试它)

回答by luc

I think that in the software business the behavior and openess of people is very important. That's especially true for testing people.

我认为在软件业务中,人们的行为和开放性非常重要。对于测试人员来说尤其如此。

I would try to know if the person is going to be able to work with the dev team and ask him what he is doing when he is testing a software with a lot of very obvious bugs. How does it work with the developper to improve that situation. I think that he should find a way to help the developper for example by proposing to make smoke-tests and to integrate it to the build process or by reviewing the unit tests.

我会试着知道这个人是否能够与开发团队一起工作,并问他在测试一个有很多非常明显错误的软件时他在做什么。它如何与开发人员合作以改善这种情况。我认为他应该找到一种方法来帮助开发人员,例如通过提议进行冒烟测试并将其集成到构建过程或通过单元测试。

I would also ask the person to write a defect report and see if it is clear enough for the one in charge of fixing it.

我还会请该人写一份缺陷报告,看看它对负责修复它的人来说是否足够清楚。

Joel's test mention that you must ask a developper to write code during his interview. In the same way, I think that you must ask a tester to write a defect report.

Joel 的测试提到你必须让开发人员在面试时编写代码。同样,我认为您必须要求测试人员编写缺陷报告。

I hope it helps

我希望它有帮助

回答by PJ.

Just go through the link below and you will get a idea of the questions asked in the interview.

只需通过下面的链接,您就会了解面试中提出的问题。

http://www.geekinterview.com/Interview-Questions/Testing

http://www.geekinterview.com/Interview-Questions/Testing

http://www.testinginterviewquestions.com/

http://www.testinginterviewquestions.com/

回答by Rachel

Software Testing is not language dependent. A quick search on Googlegave me what you are looking for

软件测试不依赖于语言。在谷歌上快速搜索给了我你要找的东西

回答by yoosiba

You should be more specific in your question.

你的问题应该更具体。

If the keyword here is JavaSoftware Tester, than expect questions about:
unit testing (assertions, test suits, testSetUp etc), unit testing frameworks (junit, testNG), mocks usage and different mock frameworks(EasyMock, Mockito, jMock), Continuous Integration, Test Driven Development, Behavior Driven Development, working with code repository,code coverage, path coverage, statement coverage, tools for bug tracking (bugzilla/jira)... maybe some about class invariants, design by contract...
You can get something practical like, code review, write tests for some class/interface, write something using TDD approach.

如果这里的关键字是Java软件测试员,那么比预期的问题有:
单元测试(断言、测试套件、testSetUp 等)、单元测试框架(junit、testNG)、模拟使用和不同的模拟框架(EasyMock、Mockito、jMock)、连续集成、测试驱动开发、行为驱动开发、使用代码存储库、代码覆盖率、路径覆盖率、语句覆盖率、错误跟踪工具(bugzilla/jira)……也许一些关于类不变量、契约设计……
你可以获得一些实用的东西,例如代码,为某些类/接口编写测试,使用 TDD 方法编写一些东西。

If the keywords are Java Software Testerthan expect questions about:
Boundary Values, Equivalence Classes, black-box testing, white-box testing, Test Case, Test Suite, Bug Report, Software Development models (V model, waterfall, DSDM, iterative, agile approach), role of testing in development cycle, role of a tester on development team, when testing is enough, what is quality, definitions and differences between issue, bug, defect, fault, what differences in iseb/istqb/Tmap certifications, what is difference between System/Integration/UserAcceptance/smoke/regression testing, when to automatize and what are pros and cons, tools for test acclimatization (not unit tests), tools for test/bug management (HP QualityCenter/IBM Rational Quality Manager)...
As for practical stuff: how would you test installer or wizard, write bug report, re-design/optimize test case/script, (if position connected with test acclimatization) write code snippet in VBscript (or other scripting language).

如果关键字是 Java软件测试人员,那么比预期的问题有:
边界值、等价类、黑盒测试、白盒测试、测试用例、测试套件、错误报告、软件开发模型(V 模型、瀑布、DSDM、迭代、敏捷方法),测试在开发周期中的作用,测试人员在开发团队中的作用,当测试足够时,什么是质量,问题、错误、缺陷、故障之间的定义和差异,iseb/istqb/Tmap 认证的差异, System/Integration/UserAcceptance/smoke/regression 测试之间有什么区别,什么时候自动化以及什么是利弊,测试适应工具(不是单元测试),测试/错误管理工具(HP QualityCenter/IBM Rational Quality Manager) ...
至于实际的东西:你将如何测试安装程序或向导,编写错误报告,重新设计/优化测试用例/脚本,(如果位置与测试适应相关)用 VBscript(或其他脚本语言)编写代码片段。

In either case check SO for questions with proper tags and/or google for mentioned topics.

在任何一种情况下,检查 SO 是否有正确标签的问题和/或谷歌提到的主题。