Open in app

Sign In

Write

Sign In

Cyril Kato
Cyril Kato

74 Followers

Home

About

Jul 2, 2021

Introducing a new RSpec

Last week, I released the first stable version of RSpec clone, a minimalist reimplementation of RSpec to enforce the guidelines and best practices outlined in the community RSpec style guide. This clone includes most of RSpec’s DSL to express expected outcomes with no magical powers. RSpec clone demo A short demo with two expectations and a pending example.asciinema.org To avoid confusion in the community, please note that the gem of this project is not rspec, it is r_spec-clone, and it is totally independent of rspec.info.

Ruby

1 min read

Introducing a new RSpec
Introducing a new RSpec
Ruby

1 min read


Apr 11, 2016

Motionless development

Every developer has an awesome project in mind. Such projects can take some time, depending on ambitions, skill, resources. Let’s consider someone planning to implement his own in 5 years, by working daily, assuming he will not use immediately the keyboard to avoid endless debugging. At this point, a first study over several months would save at least one or two years of refactoring, bringing the project to approximately 4 years. Then, it would be wise to choose a few abstractions, to increase productivity. In all cases, the time for learning and benchmarking those would be amortized during development.

Startup

1 min read

Startup

1 min read


Nov 1, 2015

Building RSpec with Fix

First of all, to avoid confusion in the Ruby community, please note that: The code and the gem that I’m going to write about is not coming from rspec.info’s rspec, but from a personal project named r_spec-clone. My r_spec-clone project is totally independent from rspec.info, even if its interface is…

Ruby

3 min read

Building RSpec with Fix
Building RSpec with Fix
Ruby

3 min read


Sep 12, 2015

Expectations with RFC 2119 compliance

In the Ruby community, the two main testing frameworks offer different syntaxes to check the code: In RSpec, until recently, both expect and should syntaxes was available. For some technical reasons, however, the should syntax is not recommended. In minitest, expectations can be expressed through the Ruby or in an…

Ruby

3 min read

Ruby

3 min read


Sep 6, 2015

From RSpec to Fix

Short article to introduce Fix 0.7 features, and compare it with RSpec 3.3. How heavy is the package? On the one hand, the rspec gem (which is 7 LOC) runtime dependencies are: rspec-core: 6689 LOC rspec-expectations: 3697 LOC rspec-mocks: 3963 LOC rspec-support: 1509 LOC diff-lcs: 1264 LOC On the other hand, the fix gem (which…

Rspec

2 min read

Rspec

2 min read


Sep 3, 2015

Announcing Ruby Fix 0.7!

After several drafts, we’re proud to announce the release of Fix! With 148 lines of simple code built on top of Spectus expectation library, facilities such as benchmarking and mocking are not supported. Fix offers however a consistent syntax to focus your BDD. While specs behave like documents which can…

Ruby

2 min read

Ruby

2 min read


Aug 24, 2015

Testing should be simpler

We, programmers, are such artists. We program like painters paint, and there is nothing scientific here because no results can be proved. Thus, as long as the design is not satisfactory, or that in any case the specifications are not met, the work is not over. …

Testing

1 min read

Testing

1 min read


Aug 7, 2015

A hundred network stories

Tradition has it that, having a crowd of packets gathered in a dark network where a hundred specs would be performed inside an eerie atmosphere, the last matched one may yield an event… That’s when the NIDS demon — called Aoandon — was said to appear.

Ruby

1 min read

Ruby

1 min read

Cyril Kato

Cyril Kato

74 Followers

Developer. Author of https://fixrb.dev/ specing framework for #Ruby.

Following
  • Rob Stupay

    Rob Stupay

  • Aptos Labs

    Aptos Labs

  • Justin Hunter

    Justin Hunter

  • Avalanche France

    Avalanche France

  • Patrick O'Grady

    Patrick O'Grady

See all (119)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams