由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 在AWS如何作测试
相关主题
新手问题 -- web service怎么Authentication and AuthorizationSDE positions available from Amazon
Nokia Job: Sr. Java Engineer - Chicagojmock ?? or any other mocking tools?
A question on easyMock2ant junit and log4j can't work together
EasyMock 真的有用么?请教一个系统设计的问题,有关WEB Service(PIC)
一个详细有趣的JD请教一下JSP+SERVLET结构的进阶教材,多谢了
maven,struts求助请教高人!
找工作时Spring面试一般问题会怎么问?[转载] Lousy WSDL?
what is really hard is testing[转载] JUnit 的简单问题
相关话题的讨论汇总
话题: aws话题: mock话题: test话题: your话题: 测试
进入Java版参与讨论
1 (共1页)
s*******r
发帖数: 35
1
请问大牛们,在AWS如何作测试,像junit。我们要用SQS,DynamoDB,CloudSearch等等,
不容亦mock。我能想到的就是在AWS app 上专门开一个webservice endpoint作test用
,然后本地机器用curl发request 到那个app,drive 测试logic.
请大牛们给些idea. goodbug?
x****d
发帖数: 1766
2
I don't understand. AWS is merely deployment option. How does it make the
development process any different. I would say same as deploying to other
servers?
If your AWS image is from local server, how would you do test on your local
server, it should be the same. Or you can install AWS image on your local
server to do test, if you don't make your AWS image from scratch.
g*****g
发帖数: 34805
3
If you are really doing unit test, you want to mock dependencies anyway, try
mockito. If you are doing integration test, you can run your service in a
test stack in the cloud.

【在 s*******r 的大作中提到】
: 请问大牛们,在AWS如何作测试,像junit。我们要用SQS,DynamoDB,CloudSearch等等,
: 不容亦mock。我能想到的就是在AWS app 上专门开一个webservice endpoint作test用
: ,然后本地机器用curl发request 到那个app,drive 测试logic.
: 请大牛们给些idea. goodbug?

g**e
发帖数: 6127
4
DynaoDB has local testing tool, similar to hypersonic. SWF has its own
testing framework.
For others you can simply mock dependencies using mockito or jmockit.

【在 s*******r 的大作中提到】
: 请问大牛们,在AWS如何作测试,像junit。我们要用SQS,DynamoDB,CloudSearch等等,
: 不容亦mock。我能想到的就是在AWS app 上专门开一个webservice endpoint作test用
: ,然后本地机器用curl发request 到那个app,drive 测试logic.
: 请大牛们给些idea. goodbug?

x****d
发帖数: 1766
5
I see what you saying now. cool. I don't know when we are going to use those
things from AWS. How your company decided to use DynamoDB? Any concerns? I
guess it is off topic, just curious.
k********e
发帖数: 368
6
自己写mock。我自己就写了SQS的mock。以前AWSSDK里面有mock,现在没有了。其实很
简单。
1 (共1页)
进入Java版参与讨论
相关主题
[转载] JUnit 的简单问题一个详细有趣的JD
请教:Junit fails as an Ant taskmaven,struts求助
新手上路,请多指教找工作时Spring面试一般问题会怎么问?
Re: [转载] 急!在线等---从Servlet调用AXIS的Web Servwhat is really hard is testing
新手问题 -- web service怎么Authentication and AuthorizationSDE positions available from Amazon
Nokia Job: Sr. Java Engineer - Chicagojmock ?? or any other mocking tools?
A question on easyMock2ant junit and log4j can't work together
EasyMock 真的有用么?请教一个系统设计的问题,有关WEB Service(PIC)
相关话题的讨论汇总
话题: aws话题: mock话题: test话题: your话题: 测试