JUnit学习教程 [英] JUnit tutorial for learning

查看:75
本文介绍了JUnit学习教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从Java的基础知识中学习JUnit,以及如何在我的项目中应用它.如果有人可以告诉从哪里开始,那将是非常有帮助的.我看过一些教程,但我听不懂.

I want to learn JUnit from basic in Java and how to apply in my project. It would be very helpful if anybody can tell from where to start. I have seen some tutorial but i can't understand from it.

推荐答案

您可以在编写源代码之前或之后编写测试代码.您可以阅读有关测试驱动的开发过程的信息.

You can write your test code before or after write your source code. You can read about Test-driven development process.

要学习JUnit测试,可以为您提供帮助.

For learning JUnit testing this can help to you.

您将在使用JUnit进行Java中的实用单元测试"一书中获得有关JUnit测试的更多详细信息.

You will get more details about JUnit testing in the Book "Pragmatic Unit Testing in Java with JUnit".

这篇关于JUnit学习教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆