Essential Ruby Jewels?

We are starting to standardize the Ruby-based testing platform, getting very good results from the RSpec and Cucumber tests. Since this is a large enterprise, we will try to assemble a “standard” set of Ruby stones for testing, knowing that we will only ever get it 90% because of the wide range of technologies used.

The key technologies that we have identified so far should be able to support:

  • Message transport levels: WebSphere MQ, Tibco (in our test cases, we need to be able to read / write messages and clear queues)
  • : SQL Server, Oracle, Sybase (we should be able to perform CRUD operations for each of them as part of our test cases)
  • user interfaces: Web, .NET, Java / Swing, Silverlight (ideally, we can automate the management of each of these user interfaces through the corresponding interface).

As a starting point, we decided that we want to install the following set of stones (in addition to those that come with Ruby itself):

  • cucumber (plus a hoe and other addictions)
  • rubywmq (for testing using WebSphere MQ)
  • Webrat
  • watir (for cases when webrat will not cut it)
  • rails (not so much for Rails, but for activerecord and various DB drivers that come out as dependencies, as well as rake)
  • ruby-oci8 (for Oracle)

For Silverlight applications, we hope that we can test them through IronRuby, but for us this is a very unknown territory at the moment.

Two questions:

  • , ? , ? //?
  • Java/Swing, Silverlight .NET? RSpec, ?

+3
4

  • Mocha. Cucumber, Rspec ActiveSupport, , , .
  • :: RSpec. - GEM, Ruby. Test:: Unit, RSpec, RSpec.
  • Shoulda Shoulda , , Test:: Unit.
  • Remarkable Inva RSpec.

, :

+4

Nokogiri XML -

+1

Zentest,

Mongrel

+1

irb/rails...

  • Pry - ls, cd . , ... .

  • irbtools - , ( wirb, hirb, interactive_editor ( open emacs, vim ..), coderay,... list github)

+1

Source: https://habr.com/ru/post/1711557/


All Articles