Open lauer opened 6 years ago
Updated the readme with the guide to run tests, it is right at the bottom.
cd test/dummy
yarn install or npm install
bin/rails db:migrate:reset
Thanks, but there is there a test error
Error:
DatatableIntegrationTest#test_visiting_the_index:
Selenium::WebDriver::Error::UnhandledAlertError: unexpected alert open: {Alert text : DataTables warning: table id=DataTables_Table_0 - Ajax error. For more information about this error, please see http://datatables.net/tn/7}
(Session info: headless chrome=65.0.3325.162)
(Driver info: chromedriver=2.37.543654 (a46b62e9900f5ac48951f8ad68d9e03eded4cc8d),platform=Mac OS X 10.13.3 x86_64)
/Users/jgl/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/test_unit/reporter.rb:70:in `method': undefined method `test_visiting_the_index' for class `Minitest::Result' (NameError)
Have you considering to add Travis as CI to the repository?
Did the error happen on a fresh clone? I tried the steps shown on a fresh clone and could not reproduce the error.
As for Travis, I might look into it when I have time this coming weekend.
In first try the
rake test
didn't work, because the requirement of runningbin/rails db:migrate
inside the dummy project.And then after running the
db:migrate
some tests still fails.