MarketSquare / MarketSquare/DbBot
Test status text from output.xml is not parsed
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 60
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
It seems that error message in test status is not parsed from output.xml and saved to db. Fixing this would only require adding two lines of code (one for parsing and one for column creation):
- robot_results_parser.py --> _parse_test_status --> 'message': test.message
- database_writer.py --> _create_table_test_status --> 'message': 'TEXT'
E.g. "Keyword 'Wait Until Element Is Visible' failed ..." should be parsed (simplified example from output):
<test><status status="FAIL" endtime="20190201 13:21:01.497" critical="yes" starttime="20190201 13:20:09.986">Keyword 'Wait Until Element Is Visible' failed ...</status></test>
Contributor guide
No contributing guide indexed for this repository
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 in robot_results_parser.py at _parse_test_status, then inspect database_writer.py at _create_table_test_status. Use the provided output.xml example to verify that the test status message is parsed and stored in the database as a TEXT column.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100