Testing Django Channels: Lack of documentation and examples

Hello!

Lately, I have been testing my project and noticed that there is very little info on testing Django channels, specifically asynchronous in the context of Django.

There are plenty of supporting documentation on testing views, models, forms etc and I have a good grasp of testing in general.

However, testing the asynchronous code has been really hard. The Channel documentation does not offer a detailed documentation and I have not found any other documentation about testing Django channels specifically.

I wonder:

  • Are there any documentation and examples somewhere where I have missed for testing of asynchronous codes?
  • If yes, could you please share your source?

I have tried to rely mostly on the Django built in test framework and bend it to suit my needs. Perhaps it is not sufficient anymore.