RSpec - BDD for Ruby

275 posts

RSpec - BDD for Ruby

RSpec - BDD for Ruby

@rspec

شامل ہوئے Nisan 2009
1.1K فالونگ1.6K فالوورز
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
Rails 6.0.4 contains some of these bug fixes for your convenience [but does not officially support 7.1] and is the last 6.0.x release. For all the changes see: github.com/rspec/rspec-ra…
English
0
0
0
259
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
Hi! We've just released `rspec-rails` 6.1.0 with some enhancements and fixes for Rails 7.1! 🎉 As per `rspec-rails` versioning this release supports Rails 6.1, 7.0, and 7.1 and is now our maintained release stream, it contains no breaking changes [that we know of] so good to go!
English
1
2
7
3.1K
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
@sudhindraRao You probably need to access via https, I think twitter just added http by default, it’s GitHub pages underneath so has a let’s encrypt cert
English
1
0
0
77
Mikael Henriksson
Mikael Henriksson@mhenrixon·
@rspec Not working for me. Get a 404 on the link below and on mobile safari I can’t click on anything to open the actual docs.
English
2
0
1
282
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
@mhenrixon Thank you for testing this, the drop downs don’t work on mobile safari, will fix! The rspec.info link worked from here but the relishapp link is a 404 (which is why we are replacing it) are you seeing a 404 from rspec.info?
English
0
0
1
57
RSpec - BDD for Ruby
Hey everyone still here, if you feel like you need a non bird site place to follow RSpec, we also have an account on (at rspec at) ruby.social please follow us there also as its easier to update with apps (we're Ivory fans).
English
0
0
2
281
RSpec - BDD for Ruby
Hi everyone, we know RelishApp is down, its unfortunately out of our hands to do anything about it, see Matt's post for some context: write.as/mattwynne/reli… You can find the cucumber scenarios and readmes in the repos still and we're looking at alternatives.
English
1
10
19
1.8K
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
@GhostBrain The logo can be considered CC NC SA if that helps, I’ll update the repo at some point soon.
English
1
0
0
0
kinoppyd
kinoppyd@GhostBrain·
@rspec Hi there! Is RSpec logo under the MIT license? I can't find logo in rspec-core repo, but found in github.com/rspec/rspec.gi… repo that is not declare its license.
English
2
0
0
0
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
@fbeausoleil You can create aliases in your shell itself.,e.g. I have in my `~/.profile`: ``` alias rr='git ls-files -mo --exclude-standard | exists | grep _spec\.rb$ | xargs bundle exec rspec' alias ro='bundler exec rspec --only-failures' alias rn='bundler exec rspec --next-failure' ```
English
0
0
0
0
François Beausoleil
François Beausoleil@fbeausoleil·
Using @rspec, I sometimes need to re-run failing specs. `--only-failures` is a GREAT feature, but I'd love to have an alias for `--failures-only`, as that's how I suck at remembering the correct option name.
English
1
0
0
0
RSpec - BDD for Ruby
Is your test suite slow on CI? Take a sneaky peek at how @buildkite founder @keithpitt made some of his RSpec tests faster using their new Test Analytics!
Keith Pitt@keithpitt

Now that we’ve told you about @buildkite Test Analytics, I can start showing you some sneaky screenshots of the product. Am I allowed to do this? I’m not sure…I haven’t actually asked anyone. But it’s Friday afternoon, and I’m pretty sure everyone’s gone home 😎 (1/12) 🧵

English
0
0
11
0
Mohit Sindhwani
Mohit Sindhwani@onghu·
Hi, @rspec folk! I'm using #RSpec to prep inputs, run an EXE (takes 2 min) & then run assertions on output files. The assertions have ~10 contexts with 20 examples each. How can I split these into diff files so that I run the EXE once only. Hints/ links appreciated. #ruby
English
1
1
0
0
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
@onghu @PCurell @ruby_rails_bot If you isolate the code into a module function thats memoised, you can call it safely at any point and it would only run once, to allow different config to run you could then use “names” to distinguish different memoised outputs.
English
1
0
1
0
RSpec - BDD for Ruby
RSpec - BDD for Ruby@rspec·
@knowuh @V8 No it’s the standard Ruby `did_you_mean` suggestion caused by a `NameError` and you happen to.. er.. have a to_v8 method defined somewhere. Did you put `expect(…).to_have(…)` when you meant `expect(…).to have(..)` somewhere?
English
0
0
0
0
RSpec - BDD for Ruby
@realntl @waiting_for_dev @_solnic_ @tom_dalling Also, and I’ll add this disclaimer, I love seeing new testing frameworks trying new things, just because RSpec does something one way doesn’t mean I’m not a fan of other ways. I also use ExUnit a lot and I could do a whole series of tweets on a comparison with RSpec 😂
English
0
0
2
0
Nathan Ladd
Nathan Ladd@realntl·
@rspec @waiting_for_dev @_solnic_ @tom_dalling With TestBench, sharing local variables across contexts is a judgment call of the tester. In general, TestBench doesn't include any features designed to encourage good test design, but it does deliberately lack features designed to cope with problematic tests.
English
1
0
0
0
Marc Busqué ☞ @waiting_for_dev@ruby.social
IMHO @rspec 's `let` blocks are misused 99% of the time. Tests are about doing expectations for how code behaves on different scenarios, so you can't extract shared context so happily. On top of that, tests are also documentation, so you want to minimize indirection.
English
1
1
3
0