Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Cezary Baginski
@e2
@dg-ratiodata - if there's a lot of scrunity for PRs on master (like now), there's no need for a release/1.0.0 branch. Release branches don't fix a discipline/quality problem, they only create a branch managing problem. (Especially if plans aren't communicated to contributors effectively).
Dennis Günnewig
@dg-ratiodata
@e2 I made an issue from your comment.
cucumber/aruba#363
Paolo Ambrosio
@paoloambrosio
re running tests in docker: are you expecting that to work for Linux only or to use a Windows container on Windows? I don't understand much what docker would solve
Dennis Günnewig
@dg-ratiodata
@paoloambrosio Good point. From my understanding - current state of discussion - It will only solve problem for developers developing on Linux. We will still have issues on Windows. And we need a fix for that. I cannot think of a container solution for windows which has no licensing issues beside the fact that there is none so far - from my knowledge.
Since I'm not developing on Windows we need developers from that area to describe their need...
As for the introduction of docker: I thought about that for a different internal project myself and implemented that. This worked quite well and reduced the setup "costs" for external developers, so I think adding Docker to the repo still has some value
I hope to find some time during the weekend to wrap my head around the dev xp things - on a higher level - to form a "vision".
Dennis Günnewig
@dg-ratiodata
AND: Finally I would have got a platform to troubleshoot jruby issues since I'm not a fan of using rvm
Matt Wynne
@mattwynne
IMO given a choice, I would prefer to slim down Aruba and try to reduce the dependencies rather than making the build more complex. Having said that, if there are some dependencies we’re agreed we do really need that are fiddly to install then I think having a Docker build is a good idea - anything that makes it easy to get a developer up and running is great. Thanks for the suggestions @e2!
Cezary Baginski
@e2
@mattwynne - right now, if I want all tests to be green on my desktop, I have no other choice than to use Docker. There are pending PRs, but juggling them while rebasing over new stuff would mean "unrelated" breakages from other issues. Nothing is worse than failing tests. Also, the build isn't complex - it's just Docker was added as an option, beside the current build. It would also allow Windows users to run Linux tests on their machines - directly using their checked-out sources. (So they can rework Windows-platform specific stuff and immediately test on Ubuntu/Docker if they broke anything on the other side. (All before sending a PR to trigger a Travis build). Technically this allows allows testing things on specific patch versions of a given Ruby. And you can run multiple containers with isolated tests, with different sets of gems. Also, if anyone reproduces a weird issue in a docker image, it's not a problem to upload/download ... and roll up your sleeves to start investigating. And with Docker Compose I'd argue it's actually easier than using Rake tasks for it...
@mattwynne - as for "slimming down", I'd focus on the codebase. It's not like Aruba is suffering for an overwhelming amount of dev tools inside. Meanwhile, Ruby 1.8.7 support is still there - along with lots of other deprecations. There's no use putting effort into slimming anything else down that what's needed to release 1.x. And then e.g. increasing test coverage and other improvements.
Matt Wynne
@mattwynne
@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
@maxmeyer

@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
@e2
@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
@maxmeyer
Great! :-) Thanks.
Dennis Günnewig
@maxmeyer

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
@e2
Docker is also a convenient way of testing things when dependencies are missing.
Matt Wynne
@mattwynne
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
@dg-ratiodata

@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
@dyspop
: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
@knutpett
👋
greybox99
@greybox99
hi
is it possible to test for multiple words
in the output of the bash command?
greybox99
@greybox99
anyone?
Eric Kessler
@enkessler
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
@ultimatecoder
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
@bcolferzd
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
@briancolfer-upstart
Is this still active?
Brian Colfer
@briancolfer-upstart
I have solved a number of issues how to use aruba and RSpec ... anyone want to discuss?