test-reporting

Insert screenshots in SpecRun/SpecFlow test execution reports

风格不统一 提交于 2019-12-03 09:03:18
I'm using SpecFlow with Selenium WebDriver and SpecRun as test runner to create and execute automated test cases and I'm looking for a solution to insert screenshots in the test execution report. I wrote a method to create screenshots after every Assert function. The images are saved to a specific location, but when I make the result analysis I have to follow the report and the images as well. It would be nice to have them in the same location (precisely in the report html). Is there any way to perform this (something similar to Console outputs)? (reposting from https://groups.google.com/forum

Display python unittest results in nice, tabular form

我们两清 提交于 2019-11-27 18:12:14
I am writing a Pythonic tool which validates the correctness of a certain system. Each validation is written as a Python unittest , and the report looks like: test_exclude_list_not_empty (__main__.TestRepoLists) Assert the the exclude list is not empty ... ok test_include_list_not_empty (__main__.TestRepoLists) Assert the the include list is not empty ... ok test_repo_list_not_empty (__main__.TestRepoLists) Assert the the repo list is not empty ... ok In my opinion, this format is hard to read, especially for non-Pythonists. Is there any report generator that can generate a report in a nice,

Display python unittest results in nice, tabular form

人盡茶涼 提交于 2019-11-27 00:23:21
问题 I am writing a Pythonic tool which validates the correctness of a certain system. Each validation is written as a Python unittest, and the report looks like: test_exclude_list_not_empty (__main__.TestRepoLists) Assert the the exclude list is not empty ... ok test_include_list_not_empty (__main__.TestRepoLists) Assert the the include list is not empty ... ok test_repo_list_not_empty (__main__.TestRepoLists) Assert the the repo list is not empty ... ok In my opinion, this format is hard to read