I
I
IvanN7772017-06-01 14:41:44
Ruby on Rails
IvanN777, 2017-06-01 14:41:44

When working with fixtures, what should be done to break the tests?

The application is tested with fixtures and adding a new user can break tests where the number of users is strictly specified.
There are a lot of tests to run them all every time.
How to write tests working with fixtures and be sure that they won't break anything?
rspec.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vsuhachev, 2017-06-08
@vsuhachev

The answer is obvious, do not use code in which something is "hard-coded". Describe a couple of cases to give specific advice...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question