Skip to content

result.markdown #796

@bbgw

Description

@bbgw

Phenomena

result.markdown didn't produce expected table in PDF report.

Actual Result

report.pdf

(My interest is in the Markdown session, as in the screenshot below. There is no message shown in the Markdown section. .)
Screen Shot 2022-04-17 at 21 04 26

Expect Result

An example is here:
expect result

Details

The result was from the example test_plan_basic.py with an attempt to try out result.markdown in PDF output.

One modification is that I added
pdf_style=StyleArg.DETAILED.value on L202-L208:

@test_plan(
    name="Basic Assertions Example",
    stdout_style=Style(
        passing=StyleEnum.ASSERTION_DETAIL, failing=StyleEnum.ASSERTION_DETAIL
    ),
    pdf_style=StyleArg.DETAILED.value
)
def main(plan):
...

I wonder if it's an environment issue. But could you shed some light on what might go wrong?

Environment

Python

Python 3.9.6

testplan

$ pip show testplan
Name: testplan
Version: 21.9.29
Summary: Testplan testing framework
Home-page: https://github.com/morganstanley/testplan
Author: 
Author-email: eti-testplan@morganstanley.com
License: UNKNOWN
Location: /Users/zhaok16/.pyenv/versions/3.9.6/lib/python3.9/site-packages
Requires: boltons, cheroot, colorama, cycler, flask, flask-restx, lxml, marshmallow, matplotlib, numpy, pandas, Pillow, plotly, psutil, 
py, pyparsing, pytest, python-dateutil, pytz, pyzmq, reportlab, requests, rpyc, schema, scipy,low, plotly, psutil, py, pyparsing, 
pytest, python-dateutil, pytz, pyzmq, reportlab, requests, rpyc, schema, scipy, s setuptools, sphinx, sphinx-rtd-theme, termcolor,
terminaltables, validators, werkzeug
Required-by: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions