분류 전체보기110 Ruby on Rails Test Ruby on Rails 테스트에 관한 내용 정리 테스트를 쓰는 이유 => 좋으니까 써라 확인해야지 Test에는 대표적으로 2개가 자주 사용된다 Rails 디폴트 테스트인 Minitest VS 레일즈 어플리케이션의 개발에 이용되는 테스트 프레임워크인 RSpec이 있다. 둘 다 알 고 있으세요 그게 제일좋아요 ! mini test샘플 xUnit 풍 require "minitest/autorun" class Person def hello; 'hello' end end class TestPerson < Minitest::Test def setup @person = Person.new end def test_hello assert_equal 'hello', @person.hello end end RSpec풍의 .. 2020. 11. 14. Ruby on Rails 용어 정리 보호되어 있는 글 입니다. 2020. 11. 9. [Ruby on rails] Gem에 대한 정보 사이트 정리 📌 webpack https://github.com/rails/webpacker/blob/master/README.md 📌 Turnolinks https://github.com/turbolinks/turbolinks-rails 섬네일 작성에 라이브러리 📌 ImageMagick https://imagemagick.org/index.php http://libvips.github.io/libvips/install.html 📌 GraphicsMagick http://www.graphicsmagick.org/ 📌 libvips http://libvips.github.io/libvips/ 가장 친근한 것은 ImageMagick이라고 생각하지만 llibvips는 ImageMagick과 비교하여 메모리 소비량이나 실행.. 2020. 11. 6. Docker / Web 용어 정리 보호되어 있는 글 입니다. 2020. 10. 17. 이전 1 ··· 3 4 5 6 7 8 9 ··· 28 다음