Questions tagged [aruba]

Aruba is an extension for Cucumber. Aruba enables Cucumber to test command-line applications written in any programming language.

Aruba extends Cucumber to support arbitrary command-line applications, which can be written in any programming language.

See also .

92 questions
2
votes
0 answers

Java FTP upload

I got this issue that is bothering me for a week now, I'm trying to upload a file xml with ftp using java, nothing too fancy. After a few web serch i decided to use the ftp4j pack wich, according to the documentation should do the trick. Point is…
2
votes
1 answer

Cucumber + Aruba + Windows: Tests don't see last line of stdout?

I'm running what should be a basic BDD demonstration using Cucumber and Aruba on Windows in Ruby 1.8.7. The idea is to have a simple "greeter" application prompt the user for a name, then say hello to them by name. The Cucumber scenarios look like…
Tim
  • 59,527
  • 19
  • 156
  • 165
2
votes
1 answer

Ruby Aruba testing can't find command in PATH-variable

I'm teaching myself the basics of how to make my own Ruby Gem using Bundler's guide. However when I get to setting up CLI tests with aruba/cucumber I keep running into a problem: Command "co2domain" not found in PATH-variable "C:/.../PATH…
RedOster
  • 325
  • 3
  • 16
2
votes
2 answers

How to stub and mock interactive ruby app with Cucumber?

I have an interactive CLI app based on Highline gem. I can run it interactively for Cucumber tests using Aruba. But I can't using stubs and mocks, because Aruba starts my app as a child process. If I try to use Aruba::InProcess feature, it loses…
Michael
  • 135
  • 2
  • 11
2
votes
1 answer

Use Ruby, Cucumber and Aruba to check for file in testing home directory

I'm using Cucumber and Aruba to test a Ruby command line app written on top of GLI. To prevent tests from affecting production data, I update ENV['HOME'] to point to a testing directory. I'd like to check for the existence of a file in the testing…
Alan W. Smith
  • 24,647
  • 4
  • 70
  • 96
2
votes
2 answers

How does one configure Cucumber / Aruba to use SimpleCov?

Ruby-2.0.0p247 ActiveRecord-4.0.1 Cucumber 1.3.10 Aruba-0.5.3 SimpleCove-0.8.2 We use Cucumber with Aruba in a NON-RAILS project that nonetheless uses ActiveRecord. Our cucumber features exercise the code both in-process and out-of-process. The…
James B. Byrne
  • 1,048
  • 12
  • 27
2
votes
2 answers

How can I make Aruba use a different ENV["HOME"]?

From the docs: Per default Aruba will create a directory tmp/aruba where it performs its file operations. However, my application uses ENV["HOME"] to create and read a file (~/.foorc), so I need Aruba to use a fake ENV["HOME"]. Do I need to set…
berkes
  • 26,996
  • 27
  • 115
  • 206
2
votes
2 answers

Writing to stdin with Aruba/Cucumber

I am having trouble writing to standard input with Aruba. I have tried three approaches. Approach 1: Scenario: Write to stdin take 1 Given a file named "infile" with: """ Hello World! """ When I run `cat < infile` Then the output…
Allan5
  • 351
  • 5
  • 17
1
vote
1 answer

How to use stream stream_socket_client() opening an ssl connection in aruba

i'm developing a server side in php to send push notification for apple. i see on some guides that i have to create a stream_socket_client() calling with ssl apple's servers. When i launch my script i receive that message: Warning:…
Jayyrus
  • 12,961
  • 41
  • 132
  • 214
1
vote
0 answers

How to get performance metrics from Aruba AirWave?

I need to be able to log in to the Aruba AirWave appliance and retrieve metric data such as CPU usage, number of connections, and memory usage for certain devices. I already have code that gets the ap_list, but I'm looking for ideas on how to modify…
user1471980
  • 10,127
  • 48
  • 136
  • 235
1
vote
0 answers

Estimating Ethernet line length

I'm trying to write a Network Visualization tool for HP/Aruba Switches and now confronted with the Question how to estimate the Length of a Connnection? For Fibre Trancievers you can get some Info using show interfaces transceiver
1
vote
0 answers

OIDs (MIB) for Aruba 6000

I've got SNMP walk of some Aruba6000 routers, and on OID 1.3.6.1.4.1.14823.2.2.1.1.2.2.1.8 (staTransmitRate) it returns '13', but, in all MIBs I was able to find, possible values are 1-12. What does value '13' mean? Or, where should I obtain some…
nothrow
  • 15,882
  • 9
  • 57
  • 104
1
vote
1 answer

Angular routing not working in production (aruba hosting)

i know this may be a duplicate but i didn't found any solution in other questions. I've some troubles with angular routing in production. I tried many solutions, it only works with {useHash: true}. My last attempt was to set .htaccess in project's…
1
vote
1 answer

Testing generators with cucumber and aruba

I've just released a gem on github and I wrote integrations test with aruba gem. However I can't run features because it behaves differently from command line. If i run the features rails can't find my generator, if I repeat the same steps on the…
Fabio
  • 18,856
  • 9
  • 82
  • 114
1
vote
3 answers

EVE-NG QEMU based nodes are not starting

Setup:Dell PowerEdge R620 128GB Ram 12 Core server. Vmware ESXI 6.5 Based setup: 1 VM for EVE-NG: 500GB SSD + 32 GB allocated RAM. 2nd VM for Windows Server 2016: 100GB HDD + 16 GB RAM. On Windows client, I can access the EVE-NG via Firefox and…
Heinreich213
  • 121
  • 1
  • 3
  • 11