giant robots smashing into other giant robots: Process Jobs Inline when Running Acceptance Tests

Link: giant robots smashing into other giant robots: Process Jobs Inline when Running Acceptance Tests

thoughtbot:

Web apps often move long-running processes (such as delivering email) out of the request/response cycle into a queue of background jobs. A worker process then picks up those jobs from the queue and runs them in the background.

In acceptance tests, it’s desirable to run those background jobs…

Make your testing live simpler by not delaying execution of async tasks during test.

Thoughtbot provides a nice resource with their blog for sure :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s