Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Matt Wynne
@e2 sure - I think Docker gives us some great options, I just wouldn’t want it to become an excuse for absorbing more and more dependencies into the project. For example, I don’t like the fact that there are steps / helper methods that assume the user will have RVM or Bundler installed. I think those should move out intro a contrib gem.
By the way, one of our biggest users is the RSpec project, who need 1.8.7 support since many of their users still use 1.8.7 and they want to keep supporting them.
Dennis Günnewig

@mattwynne I agree that having a docker base image is quite a good idea. I've had some troubles pinning down bugs in aruba with jruby - since I don't use rvm + only the latest mri ruby - so having a Docker image available is very welcome.

@e2 I like the idea to have docker-compose, but is python required to run it?

Cezary Baginski
@maxmeyer - file bin/docker-compose
bin/docker-compose: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=00747fe5bcde089bb4c2f1ba7ab5348bc02ac5bf, stripped
Dennis Günnewig
Great! :-) Thanks.
Dennis Günnewig

excuse for absorbing more and more dependencies into the project.

I agree! Besides that, I think we need to find a balance between documentation and dependencies. All problematic dependencies are

  1. introduced by me (while improving our documentation)
  2. are part of our documentation (aka features) to demonstrate that aruba can run bash-scripts, zsh-scripts, java-programs, elf-binaries, ...
  3. are no dependencies of the aruba library itself

I think we can handle this by flagging all scenarios with external deps as @documentation-only or so. Then exclude them in a default cucumber run (cucumber.yml) and run them only in container/CI. I like the idea of having living documentation and don't want to "reduce" - sorry no better idea how to name it - our feature files' value for the project.

I think excluding them is a OK compromise.

Cezary Baginski
Docker is also a convenient way of testing things when dependencies are missing.
Matt Wynne
I think @tooky's suggestion to skip the scenario if the environment is missing a dependency required for that scenario will work well for you.
Dennis Günnewig

@all Is there anybody interested in taking over maintainership of jarib/childprocess#104? It's a ruby library to run commands on MRI Ruby, JRuby, Linux, Windows, ... We use it in aruba.

Unfortunately I don't have much spare time nowadays. I want to spent the bit of my spare time on aruba. So any help is welcome.

Dan Black
:wave: hi there... sorry i'm a bit of a Ruby newb especially with BDD. Having a ton of trouble getting aruba to... do ... anything.
I'm working on a CLI gem to parse text files essentially. this room looks a bit... dead?
well... if anyone sees this :wave:
Knut P
is it possible to test for multiple words
in the output of the bash command?
Eric Kessler
Is there a way to make the output comparison steps be line ending agnostic?
I need Aruba tests to work on Unix/Windows/OSX but they break because every platform has different line endings.
Jaysinh Shukla
Hi, I am trying to write a functional test for this command line program. Please find my feature file here.
I want to describe the input. As you can see the commented part of "And I type" command.
Is there any way to describe more about the input?
Is comments the only option?
Brian Colfer
I’m running MacOS Mojave 10.14.5. I can gem install aruba with no errors but when I try aruba init I get:
/Users/me/.rbenv/versions/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ffi-1.9.17/lib/ffi_c.bundle, 9): Symbol not found: _ffi_type_double (LoadError)
Referenced from: /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ffi-1.9.17/lib/ffi_c.bundle
Expected in: flat namespace
in /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ffi-1.9.17/lib/ffi_c.bundle - /Users/me/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ffi-1.9.17/lib/ffi_c.bundle
Brian Colfer
Is this still active?
Brian Colfer
I have solved a number of issues how to use aruba and RSpec ... anyone want to discuss?