본문 바로가기

Ruby On Rails/RSpec

spring 특징

1. spring 이란?

  • preload all libraries
  • reload all files

2. spring 장점

  • a default part of rails, so you know it’s well supported, and bugs will be fixed fast.
  • slightly simpler to install and use than Zeus

3. spring 단점

  • Spring lacks support for parallel tests
  • a bit opaque in terms of errors given there’s no console window

4. spring 서버에 문제가 생긴다면?

  • bundle exec spring stop
  • rspec으로 test를 하면 자동으로 재시작해준다.
  • bundle exec spring status

'Ruby On Rails > RSpec' 카테고리의 다른 글

guard 특징  (0) 2021.12.15
System vs Feature vs Request spec  (0) 2021.12.15
rspec reference 정리  (0) 2021.04.10
나머지 스펙과 디버그에 대한 이야기  (0) 2021.04.10
model spec 작성방법  (0) 2021.04.10