New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use RSpec for testing #2219
Comments
I'm open to this, but it sounded like it could take some significant work
to refactor our tests for RSpec -- do you know how much work it would be?
…On Sat, Feb 3, 2018 at 2:46 PM, Naman Gupta ***@***.***> wrote:
We are currently using old way of testing. I think we can replace this
with newer way of testing and there is one of the gem called RSpec Gem
which is very famous for rails testing.
It makes writing of tests easier and more defined.
It is very easy to find which test is failed and where because we use
things like describe and context which makes the tests lot easier to read
and write.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2219>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ0CXx9cUWCPYHACyIMslX5m0awXQks5tRLemgaJpZM4R4TJx>
.
|
Hey @jywarren |
is it an all-or-nothing kind of change? Like, we couldn't gradually port
things into RSpec?
…On Tue, Feb 6, 2018 at 7:19 AM, Naman Gupta ***@***.***> wrote:
Hey @jywarren <https://github.com/jywarren>
Yes, it would require a significant amount (a lot ) of work. But we can
can implement it slowly on different branch so that our current branch
don't get break until it gets complete.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2219 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJxVZQ2WZ06trjoorNzpCUZssXbVoks5tSENqgaJpZM4R4TJx>
.
|
No, we can do it in parts! |
@namangupta01 @jywarren, just thinking about this feature. Well minitest is the testing framework for rails right? Why should we move to |
We are currently using old way of testing. I think we can replace this with newer way of testing and there is one of the gem called RSpec Gem which is very famous for rails testing.
It makes writing of tests easier and more defined.
It is very easy to find which test is failed and where because we use things like
describe
andcontext
which makes the tests lot easier to read and write.The text was updated successfully, but these errors were encountered: