unit testing

How to configure Rails to run custom tests?  #angularjs #reactjs

  • None of my tests, except one that can be defined as integration test, would test models, controllers, mailers or can be defined as integration tests.
  • To test it with Minitest Unit , I thought I could create a test/workers directory and insert there my tests, that could inherit directly from Minitest::Test if this could work.
  • Stack Overflow works best with JavaScript enabled
  • sign up log in tour help
  • I’m using Sidekiq for background jobs.

I’m using Sidekiq for background jobs.
Sidekiq offers the opportunity to test your code inside its workers, rb files in app/workers
My code scrapes data from external websites and updates the database.
To test it with Minitest Unit, I thought I could create a test/workers directory and insert there my tests, that could inherit directly from Minitest::Test if this could work.
In fact, none of my tests, except one that can be defined as integration test, would test models, controllers, mailers or can be defined as integration tests.
My question is whether will I be able to run these tests (or my entire test suite included Sidekiq’s tests) with either one of the following commands:

@ng_real_ninja: How to configure Rails to run custom tests? #angularjs #reactjs

I’m using Sidekiq for background jobs.

My code scrapes data from external websites and updates the database.

if this could work. In fact, none of my tests, except one that can be defined as integration test, would test models, controllers, mailers or can be defined as integration tests. My question is whether will I be able to run these tests (or my entire test suite included Sidekiq’s tests) with either one of the following commands:

What’s the point of a delayed popup on a webpage?

unit testing