`
hgq0011
  • 浏览: 566559 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Unit test Struts applications with mock objects and AOP

阅读更多
Unit test Struts applications with mock objects and AOP
(http://www.javaworld.com/javaworld/jw-11-2006/jw-1109-test.html?fsrc=rss-index)
文中介绍了在struts下怎样测试ACTION,并且比较了OOP方式于AOP方式。


Harryson 2006-11-13 13:23 发表评论
分享到:
评论

相关推荐

    Unit Testing with Mock Objects

    Using Mock Objects for unit testing improves both domain code and test suites. They allow unit tests to be written for everything, simplify test structure, and avoid polluting domain code with ...

    mockobjects.jar包

    和Junit等一起使用,为测试Dao层提供伪实现

    Mockito Essentials(PACKT,2014)

    this book will provide you with the skills you need to successfully build and maintain meaningful JUnit test cases and effectively mock external dependencies. At the beginning, this book deals with ...

    Test Driven Development with Python 2nd edition 2017 pdf

    Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tests Test and automate your deployments with a staging server Apply tests to the third-party plugins you ...

    Test-Driven Development with Python [2017]

    Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tests Test and automate your deployments with a staging server Apply tests to the third-party plugins you ...

    Prentice.Hall.PTR.Rapid.J2EE.Development.An.Adaptive.Foundation.for.Enterprise.Applications.chm

    relational mapping Practical test-driven development: constructing automated unit test suites and using mock objects to \"test from the inside out\" Leveraging the full value of Eclipse and other IDEs...

    about mock

    What's often not realized, however, is that mock objects are but one form of special case test object, one that enables a different style of testing. In this article I'll explain how mock objects ...

    ocmock for unit test

    OCMock is an Objective-C ... If you are unfamiliar with the concept of mock objects please visit mockobjects.com which has more details and discussions about this approach to testing software.

    Typemock Isolator-Developers Guide

    It is intended for coders who are familiar with NUnit or Visual Studio Unit Tests and Mock Objects in general. Typemock Isolator is a powerful tool that makes unit testing easy by isolating tested ...

    struts-junit spring-mock spring-test junit的javadoc.jar文档

    struts-junit spring-mock spring-test junit等的javadoc.jar格式的API文档,直接导入Eclipse/MyEclipse/Netbeans等IDE即可实现快速API查询。 包含以下文件: File name -------------------------------------- ...

    Mock Objects-开源

    Mock Objects是一种广泛应用于软件开发中的技术,特别是在进行单元测试时。这个开源项目提供了一套通用的单元测试框架和方法,帮助开发者验证代码的行为,确保它们按照预期运行。在这个上下文中,"Mock Objects"指的...

    Test-Driving JavaScript Applications: Rapid, Confident, Maintainable Code

    Test asynchronous JavaScript, decouple and properly mock out dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code. Your investment in ...

    jmock2.5.1

    JMock is a library that supports test-driven development1 of Java2 code with mock objects3. Mock objects help you design and test the interactions between the objects in your programs.

    mock struts1 测试

    ### Mock Struts1 测试详解 #### 一、引言 在软件开发过程中,单元测试是一种重要的质量保证手段。对于基于Struts框架的应用程序来说,如何有效地进行单元测试尤为重要。Struts1作为早期广泛使用的MVC框架之一,在...

    Test-.Driven.Python.Development.1783987928

    Using Mock Objects to Test Interactions Chapter 5. Working with Legacy Code Chapter 6. Maintaining Your Test Suite Chapter 7. Executable Documentation with doctest Chapter 8. Extending unittest with ...

    Ultra Basic MockObjects-开源

    《 Ultra Basic MockObjects:开源框架助力Delphi与FreePascal测试》 在软件开发领域,测试是确保代码质量的关键环节。MockObjects作为一种测试技术,它允许开发者创建模拟对象以代替真实对象,以便在测试过程中...

    .NET MockObjects-开源

    `.NET MockObjects` 是一个专为.NET框架设计的开源项目,致力于推动单元测试中的模拟对象技术。模拟对象在软件开发中扮演着重要角色,尤其是在进行单元测试时,它们可以代替真实对象,帮助开发者隔离测试代码,确保...

    phpunit-mock-objects, PHPUnit的模拟对象库.zip

    phpunit-mock-objects, PHPUnit的模拟对象库 PHPUnit_MockObjectPHPUnit_MockObject 是PHPUnit默认的模拟对象库。要求PHP 5.6是必需的,但使用最新版本的PHP非常安装你可以使用 Composer 将这里库作为

Global site tag (gtag.js) - Google Analytics