Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Include traceback as comments #7

Closed
atodorov opened this issue Jan 27, 2019 · 0 comments
Closed

Feature: Include traceback as comments #7

atodorov opened this issue Jan 27, 2019 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@atodorov
Copy link
Member

Consider the following TAP output:

not ok 4 test_when_plugin_initializes_then_uses_environment (tests.test_api_config.GivenConfigurationFileDoesntExist)
# Traceback (most recent call last):
#   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/unittest/case.py", line 60, in testPartExecutor
#     yield
#   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/unittest/case.py", line 643, in run
#     testMethod()
#   File "/home/senko/tap-plugin/tests/test_api_config.py", line 11, in test_when_plugin_initializes_then_uses_environment
#     self.fail('not implemented')
#   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/unittest/case.py", line 708, in fail
#     raise self.failureException(msg)
# AssertionError: not implemented
# TAP results for GivenConfigurationFileExists
not ok 5 test_when_plugin_initializes_then_uses_config (tests.test_api_config.GivenConfigurationFileExists)
# Traceback (most recent call last):
#   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/unittest/case.py", line 60, in testPartExecutor
#     yield
#   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/unittest/case.py", line 643, in run
#     testMethod()
#   File "/home/senko/tap-plugin/tests/test_api_config.py", line 6, in test_when_plugin_initializes_then_uses_config
#     self.fail('not implemented')
#   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/unittest/case.py", line 708, in fail
#     raise self.failureException(msg)
# AssertionError: not implemented
# TAP results for GivenBuildDoesntExistInDatabase
ok 6 test_when_get_build_id_then_will_add_it (tests.test_build.GivenBuildDoesntExistInDatabase)
# TAP results for GivenBuildEnvironmentIsNotPresent
ok 7 test_when_get_build_id_then_will_raise (tests.test_build.GivenBuildEnvironmentIsNotPresent)

I want the traceback as comments b/c this will make it easier to figure out what happened, directly in Kiwi TCMS.

@atodorov atodorov added the help wanted Extra attention is needed label Jan 29, 2019
kryskool added a commit to kryskool/tap-plugin that referenced this issue Feb 23, 2019
kryskool added a commit to kryskool/tap-plugin that referenced this issue Feb 23, 2019
atodorov pushed a commit that referenced this issue Sep 23, 2019
Original author @kryskool via PR #15
Updates by @atodorov to match stale code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants