Ruby on Rails 5.1 & Vue.js 2.4.x – Testing with Karma, Jasmine – How to install? [bounty on stackoverflow]
I updated my Question on [stackoverflow](https://stackoverflow.com/questions/46194455/ruby-on-rails-5-1-vue-js-2-4-x-testing-with-karma-jasmine-how-to-install) and added a **bounty**Pascal K replied
How can I test sortableJs ? (RSpec)
I made a drag and drop to-do-list with SortableJs and i'm trying to test the drag-n-drop with RSpec/Selenium/Capybara if the request is sent onEnd. I'm able to do the drag n drop using selenium `d...paul lahana replied
Rails 6 basics issue
Rails comes with the webdrivers gem now and you should use that now. It makes things a lot easier. In fact, there's nothing you have to setup other than just installing the gem (unless you want to ...Chris Oliver replied
RSpec w/capybara vs Mini Test
@sweedledee there's not a lot of good examples out there! I did a lot of the [Testing Rails series](https://gorails.com/series/testing-ruby-on-rails) in Minitest which is a start. The Rails test su...Chris Oliver replied
How to start with parallel testing in local as well as with travis CI?
I want to use parallel testing to reduce the build time.mikkycoder replied
How to create a minitest fixture for a non database model?
Actually... it seems it is auo loading them into the test environment... So, consider this closed :)Simon Moro replied • Solved
Running only a part of a huge (2000+) specs suite
In addition to what Axel wrote earlier, you could also add a `focus`-tag to specific cases, should you only want to test them individually. It works like so: ``` # specs/discount_checkout_spec.rb ...karatepicke replied
Simple Test with empty rails fails
Hi everyone, I'm currently trying to create a template for internal Rails development and I just tried the newest Rails 188.8.131.52 and it fails with a simple test: ``` /tmp $ mkdir app-test /t...Andreas Steinel posted
How To Wrte good bug report for Manual Testing?
A bug report is very easy to write. But what should be the column for bug reports?Ashutoshkumar posted
guard-minitest runs ALL tests not just the ones for the target file changed
Dan Tappin replied • Solved
rails test attempts to create multiple test databases and fails because it cannot connect
Well, I learned about [Parallel Testing](https://edgeguides.rubyonrails.org/testing.html#parallel-testing) today, a new "feature" of Rails 6. Kinda cool, but probably shouldn't be a default of newl...Ian Burry replied • Solved
Testing and Session Variables
I had a rouge conditional wrapped around my code where I set the enrollment. This fails in testing but passes in production. Tweaked that and now it works fine.Dan Tappin replied • Solved
Failed to Run Localhost because of Run Time Error
I'm getting runtime error whenever I run the localhost. Redis was running but it only loaded the homepage. After about 10 seconds, the server stopped and gave us this error. ``` `__connect_nonblo...[email protected] posted
Accounts middleware and integration tests?
Hi folks — I'm a big fan of the Accounts Middleware pattern introduced about a year ago in this tutorial: https://gorails.com/episodes/rails-active-support-current-attributes Super powerful....Dan Charlesworth posted
Access the request object in a helper in a helper test (minitest)
Thanks Chris!Wout replied • Solved
Issues running System Tests due to missing font?
I have written two system tests for my current application and I have now hit a road block. ``` test "visiting the timesheet index without signing in" do visit timesheets_path ass...Stephen Sizer posted
i18n + Minitest
This is the rails test outputRunning via Spring preloader in process 3754 Started with run options --seed 15709 Run options: --seed 15709--=---=---=---=---=---=---=---=---=---=---=---=---=---] ...Lluis Toyos replied
I have an error of the following form and I am unable to point out the error.
Change your class name from `Completed_lesson` to CompletedLessonIts a naming convention in Rails.John Meehan replied
Check if class was instantiated and instance method was called
I figured out the solution. Here are basic concepts:1. To check if an instance method was called, it is possible to use a mock. For example, Minites::Mock.2. To make sure a piece of code (Executor#...Alex Musayev replied • Solved