0
Windows에서 레이크 테스트를 실행할 때 테스트 이름 대신 점으로 표시됩니다. 모든 테스트는 괜찮습니다. 출력 예 :Win으로 레이크 테스트 출력 (테스트 대신 점)
>rake test
# Running tests:
. . . . . . .
Finished tests in <...>
7 test, 10 alterations, 0 errors, 0 failures, 0 skips
그리고 test/unit/product_test.erb
내용 :
require 'test_helper'
class ProductTest < ActiveSupport::TestCase
test 'product attributes must not be empty' do
product = Product.new
assert product.invalid?
assert product.errors[:title].any?
assert product.errors[:description].any?
assert product.errors[:price].any?
assert product.errors[:image_url].any?
end
end
레일 버전 : 3.2.1, 루비 버전 : 1.9.3
가 도움이 아무것도 찾지 못했습니다. 제안/해결책에 대해 감사드립니다.