框架为:abp
hangfire配置连接:https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration
在单元测试中如何配置呢?
1.我认为首先要配置测试类库的module
[DependsOn(typeof (AbpHangfireAspNetCoreModule))] public class MyProjectWebModule : AbpModule { public override void PreInitialize() { Configuration.BackgroundJobs.UseHangfire(); } //... }
2.TO DO