Jump to content

The ultimate community for Ruby on Rails developers.


Photo

Whether to use a test database for testing?(Sqlite3)

Rails Tests

  • Please log in to reply
1 reply to this topic

#1 Lucky_Alexx

Lucky_Alexx

    Passenger

  • Members
  • 6 posts

Posted 22 February 2017 - 10:29 AM

I have a little lagged behind life

I used database_cleaner

But now so much has appeared for tests

Many use sqlite3 for work speed, but she supports few types (

What now it is correct to use for tests? :huh:

 

 



#2 chrislerum

chrislerum

    Passenger

  • Members
  • 2 posts

Posted 02 March 2017 - 12:47 PM

I'd recommend using the same database you use in production for your tests. 







Also tagged with one or more of these keywords: Rails, Tests

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users