English 中文(简体)
铁路恢复APIC 外部测试
原标题:Rails Rest API External Testing

我正在铁道顶上建造一个雷达卫星网络服务层,供电话应用使用。 答复格式是XML。

我愿进行一些接受测试,这些测试应当是铁路站外面的(应当测试所有东西,包括http服务器)。 测试情景相当复杂,涉及搜查/张贴/审查命令的过程。 实现这一目标的最佳办法是什么?

a 。 4. 要求书的英文译本

b) ium

c. 。

这些测试也可用作融合测试(由每一方承担)。 你们建议哪些融合解决办法?

a 。 廉正

b) 越野车

c. 其它事项

最佳回答

I ve在过去几年使用三种办法

Active-resource

我认为,这太令人担心,认为像积极的和谐一样,是一个伟大的解决办法。 在某些情况下,我不得不派遣部分人员,与一名教育、科学和技术部客户一样工作。

www.un.org/Depts/DGACM/index_spanish.htm

Rest-client

http://adamblog.heroku.com/past/2008/3/9/rest_client/“rel=“nofollow noreferer”>gem。 - 记录良好,按预期有效。 我将这一点与我自己的简单的DSL结合起来,而我的工作比通用测试框架好。

www.un.org/Depts/DGACM/index_spanish.htm

XML over HTTP

我将这一点用于业绩测试。 非常灵活,但学习曲线高于正常客户。 如果您放弃这一办法,可使用Net:HTTP。 核心类别或HTTParty gem (我曾试图这样做,但看起来是巨大的。)

http://www.rubyinside.com/net-cheat-sheet-2940.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+RubyInside+%28Ruby+Inside%29”rel=“nofollow noreferer” 净额:HTTP cheat-sheet

www.un.org/Depts/DGACM/index_spanish.htm For ad-hoc testing I ve also found the Rest Client add-in for Firefox very useful.

问题回答

在废墟中使用 se,并且你是快乐营地。Webrat/Cucumber已经这样做了,因此,你只能说,在第二个项目中,如果进行这样的测试,那么,你必须做的是凌驾于东道方(而不是你在当地的东道方使用你的领域)。

至于Imzh,我不知道什么是最好的。

如果是,答案只是什么。 CC是 CI的一个良好工具。 确实是好的。





相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签