DEV Community

Vasily Polovnyov profile picture

Vasily Polovnyov

Rails, Ruby, RSpec, JS and engineering culture

Work

Senior Software Engineer

RSpec & Rails: what not to write in `it`

RSpec & Rails: what not to write in `it`

6
Comments 2
1 min read

Want to connect with Vasily Polovnyov?

Create an account to connect with Vasily Polovnyov. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
RSpec & Rails: how to stub env vars

RSpec & Rails: how to stub env vars

11
Comments
1 min read
How to test code that works with an external API: a stub on Sinatra

How to test code that works with an external API: a stub on Sinatra

10
Comments
2 min read
Quick tip: stub requests to unix sockets

Quick tip: stub requests to unix sockets

10
Comments
1 min read
Using Faker is anti-pattern

Using Faker is anti-pattern

9
Comments 2
1 min read
Fake data in tests

Fake data in tests

10
Comments 9
1 min read
Linting Ruby right in Neovim

Linting Ruby right in Neovim

8
Comments
1 min read
“What” and “For what” in pull requests

“What” and “For what” in pull requests

6
Comments
1 min read
Rack application as a stub

Rack application as a stub

5
Comments
1 min read
Learning Through Overuse

Learning Through Overuse

2
Comments
1 min read
My new favourite programming font: iA Writer Mono S

My new favourite programming font: iA Writer Mono S

Comments
1 min read
Is it time to quit?

Is it time to quit?

1
Comments
1 min read
Should I test absolutely every public method?

Should I test absolutely every public method?

1
Comments
1 min read
Not noticing new objects

Not noticing new objects

6
Comments
1 min read
Chrome DevTools tip: use cmd+shift+p

Chrome DevTools tip: use cmd+shift+p

Comments
1 min read
My top 3 albums for maximum coding efficiency

My top 3 albums for maximum coding efficiency

Comments 1
1 min read
gg=G`` — my favourite Vim command

gg=G`` — my favourite Vim command

4
Comments 1
1 min read
RSpec: what's important for the test

RSpec: what's important for the test

5
Comments
1 min read
RSpec: do not verify hash keys separately

RSpec: do not verify hash keys separately

6
Comments 3
1 min read
Which test will fall if we delete this piece of code?

Which test will fall if we delete this piece of code?

5
Comments
1 min read
Pair debugging iOS bugs via QuickTime

Pair debugging iOS bugs via QuickTime

Comments
1 min read
RSpec: too much going on in `expect`

RSpec: too much going on in `expect`

1
Comments
1 min read
RSpec & Rails: how to test callbacks

RSpec & Rails: how to test callbacks

5
Comments
1 min read
RSpec: when to use double instead of instance_double

RSpec: when to use double instead of instance_double

3
Comments 2
1 min read
RSpec: 3 things you should stop writing in example descriptions

RSpec: 3 things you should stop writing in example descriptions

1
Comments
1 min read
Please don't test attr_reader, attr_writer, or attr_accessor

Please don't test attr_reader, attr_writer, or attr_accessor

7
Comments
1 min read
The most common issue I see in new programmers code

The most common issue I see in new programmers code

Comments 2
1 min read
Git tip: use -

Git tip: use -

5
Comments
1 min read
Rule of thumb: let vs. before

Rule of thumb: let vs. before

Comments
1 min read
RSpec: one _logical_ expectation per example

RSpec: one _logical_ expectation per example

Comments
1 min read
Explaining RSpec minimal code style rules in 2 minutes

Explaining RSpec minimal code style rules in 2 minutes

3
Comments
2 min read
Explaining RSpec describe, context in 2 minutes

Explaining RSpec describe, context in 2 minutes

10
Comments
1 min read
Explaining RSpec instance_double in 2 minutes

Explaining RSpec instance_double in 2 minutes

10
Comments
1 min read
Vim tip: alias command

Vim tip: alias command

1
Comments
1 min read
Explaining RSpec doubles, mocks and stubs in 2 minutes

Explaining RSpec doubles, mocks and stubs in 2 minutes

8
Comments
2 min read
How to test whenever config

How to test whenever config

4
Comments
1 min read
Instant test feedback with vim-test

Instant test feedback with vim-test

4
Comments 1
1 min read
Как писать полезные комментарии к коммитам

Как писать полезные комментарии к коммитам

Comments
1 min read
По хардкору: describe vs. context

По хардкору: describe vs. context

Comments
1 min read
По хардкору: instance_double, verify_partial_doubles

По хардкору: instance_double, verify_partial_doubles

1
Comments 1
1 min read
По хардкору: дублеры, моки, стабы

По хардкору: дублеры, моки, стабы

Comments
1 min read
Пора валить?

Пора валить?

Comments
1 min read
Обратная связь в тестах

Обратная связь в тестах

Comments
1 min read
Что почитать начинающему тимлиду

Что почитать начинающему тимлиду

Comments
1 min read
Сэнди Метц

Сэнди Метц

Comments
1 min read
Только то, что важно для проверки

Только то, что важно для проверки

Comments
1 min read
Меньше — лучше

Меньше — лучше

Comments
1 min read
Когда использовать double, а не instance_double?

Когда использовать double, а не instance_double?

Comments
1 min read
RSpec: before и after хуки

RSpec: before и after хуки

Comments
1 min read
Как застабить переменные окружения в RSpec

Как застабить переменные окружения в RSpec

Comments
1 min read
Что не нужно писать в it

Что не нужно писать в it

Comments
1 min read
RuboCop, RSpec и стайлгад

RuboCop, RSpec и стайлгад

Comments
1 min read
Как протестировать конфиг whenever

Как протестировать конфиг whenever

Comments
1 min read
Один тест — одна логическая проверка

Один тест — одна логическая проверка

Comments
1 min read
loading...