GoodJob.Testing.Helpers (good_job v1.0.0)

Copy Markdown View Source

Helper functions for testing jobs.

Provides utilities for performing jobs in tests.

Summary

Functions

Performs all enqueued jobs inline (for testing).

Functions

perform_jobs(job_module \\ nil)

Performs all enqueued jobs inline (for testing).

Examples

perform_jobs()
perform_jobs(MyApp.MyJob)