crossbario / crossbario/autobahn-python
Document test strategies for user-level WAMP
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to set up unit tests to validate my WAMP component.
After taking a look at the different tests implemented in the autobahn project, I realized that these used the twisted module.
Now that the unittest module of python natively integrates a means of testing coroutines via the unittest.IsolatedAsyncioTestCase class, since python 3.8, is it possible to provide a test of a WAMP component via the asyncio and uniittest modules ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading autobahn/wamp/test/test_component.py and compare its Twisted-based tests with Python's unittest.IsolatedAsyncioTestCase and asyncio support. Document or demonstrate a user-level WAMP component testing strategy that uses those standard-library facilities, with the completed guidance or example showing how coroutine tests can validate a WAMP component.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, testing
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100