You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the following commands:
$ python -m dbbot.run output_2pass_2fail.xml
$ sqlite3 robot_results.db
sqlite > .tables
sqlite > select * from test_run_errors;
test_run_errors appears to be empty???
I expected it to contain the 2 errors as shown in the log.html and screen shot of the output.xml file.
The text was updated successfully, but these errors were encountered:
The "errors" I am interested are errors that result in test case failing.
Therefore, I modified
def _create_table_tests(self):
self._create_table('tests', {
'suite_id': 'INTEGER NOT NULL REFERENCES suites',
'xml_id': 'TEXT NOT NULL',
'name': 'TEXT NOT NULL',
'message' : 'TEXT', #ADDED by JACKIE
'timeout': 'TEXT',
'doc': 'TEXT'
}, ('suite_id', 'name'))
in database_writer.py
and
def _parse_test(self, test, test_run_id, suite_id):
self._verbose(' `--> Parsing test: %s' % test.name)
try:
test_id = self._db.insert('tests', {
'suite_id': suite_id,
'xml_id': test.id,
'name': test.name,
'message' : test.message, #ADDED by JACKIE
'timeout': test.timeout,
'doc': test.doc
})
in robot_results_parser.py
Now, all I have to do is get failbot working and i will have a database of test failure messages :)
When I execute the following commands:
$ python -m dbbot.run output_2pass_2fail.xml
$ sqlite3 robot_results.db
sqlite > .tables
sqlite > select * from test_run_errors;
test_run_errors appears to be empty???
I expected it to contain the 2 errors as shown in the log.html and screen shot of the output.xml file.
The text was updated successfully, but these errors were encountered: