单元测试只是测试方法吗?

huangapple go评论102阅读模式
英文:

Is unit testing just testing methods?

问题

I'm a new software developer and the devs are going over the importance of Java Unit Testing. Is Unit Testing just testing the individual java methods? And what is integration testing in relation to unit testing in Java?

我是一名新的软件开发人员,开发人员正在讲解Java单元测试的重要性。单元测试只是测试个别的Java方法吗?与Java单元测试相关的集成测试是什么?

英文:

I'm a new software developer and the devs are going over the importance of Java Unit Testing. Is Unit Testing just testing the individual java methods? And what is integration testing in relation to unit testing in Java?

答案1

得分: 1

单元测试就是简单地通过测试其功能来测试软件的加法功能。集成测试是当您添加另一个功能或模块时,然后测试您打算的功能。

英文:

Unit testing would be something as simple as a testing addition capability of a software by testing out it's function. Integration testing would be when you add another function or module and then you are testing the functionality that you intended.

huangapple
  • 本文由 发表于 2020年8月12日 00:31:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/63362515.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定