[ISSUE]how to perform unit testing in J2EE enviornment?
Hi, guys
i take a look at the doc of Cactus but it seems that the cactus could test only Servlet and EJB etc.
the issue is: if there is some independent tier(for example: Action class in struts, or Service in OFbiz) in the application.
the essential problem is that all these methods depent on the run-time context such as HttpSession, HttpRequest, etc. how can i perform the unit test? if anybody can provides some guide or frag of codes, i will really appreciate.
am i clear enough? :)
i take a look at the doc of Cactus but it seems that the cactus could test only Servlet and EJB etc.
the issue is: if there is some independent tier(for example: Action class in struts, or Service in OFbiz) in the application.
the essential problem is that all these methods depent on the run-time context such as HttpSession, HttpRequest, etc. how can i perform the unit test? if anybody can provides some guide or frag of codes, i will really appreciate.
am i clear enough? :)
相關文章
- Unit testing frameworkFramework
- Database Unit TestingDatabase
- How to Perform a Healthcheck on the DatabaseORMDatabase
- How to Perform a Health Check on the DatabaseORMDatabase
- How to perform FULL System Export/ImportsORMExportImport
- The Art of Unit Testing: with examples in C#C#
- How to Perform SQL Server Log ShippingORMSQLServer
- java單元測試:unit testing best practicesJava
- Database Testing: How to Regression Test a Relational DatabaseDatabase
- how to implement speech recognition in J2EE
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name
- 【健康檢查】How to Perform a Health Check on the Database (Doc ID 122669.1)ORMDatabase
- springboot junit Unit-Testing(via spring-boot-starter-test)Spring Boot
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name (Doc ID 975457.1)
- Oracle OCP 1Z0-053 Q513(how to perform tablespace point-in-time recovery)OracleORM
- issue
- Testing
- Oracle LOB issueOracle
- Translation unit v.s Compilation unit
- Unit test
- Exception testingException
- Flutter Weekly Issue 44Flutter
- rac vip failback issueAI
- Linux locale issueLinux
- FreeMarker boolean IssueBoolean
- systemd service unit
- Perform 3D地震抵抗設計ORM3D
- use multiple tablespaces to perform the following tasks (47)ORM
- google friendly testingGo
- Oracle Performance Top Issue listOracleORM
- unit-test框架框架
- memory management unit (MMU)
- This is English 3 Unit one
- unit原子距離
- 解決IllegalStateException: Can not perform this action after onSaveInstanceStateExceptionORM
- [Javascript] Perform Set Operations using JavaScript Set MethodsJavaScriptORM
- Android testing toolsAndroid
- Oracle Performance Testing PrincipleOracleORM