CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 12:40:01 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"25b2a9ffe2b0759ba87314e56069754b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=BwMxX0%2BhrABAzj09EQrU8CDm0iQMJkR4plBr7fbIYdFvzEJqpf%2BcePzZ28Q7tNdmHvgcr8rmghz5yCM%2BjsALEfNU4DteBhQAOWOPpgAs1AvT4fK20YPBpxLUFwiVPmUbBjzm6djG9bGpn45i3%2FtlYoVDuXgZ8Fq1tySgzweKq8SOI3emIBsaCoiu4I76EvTCiMswbtADJVkDS%2FnixpQ%2FtUG6lJMSsdOzrf0G9K1bTfY802m7wodAWiXTeG6gv%2Fd5m5BCUDeM8J8liDYtzN9QoA%3D%3D--mMuy4CuJYjjE2p6D--iHG18ELLP8wDBty%2FxwqPDw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.269470267.1753792800; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 12:40:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 12:40:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 91EE:319329:AEDE08:D00AC5:6888C120
Testing Notes · trentm/python-markdown2 Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 438
Testing Notes
Trent Mick edited this page Feb 6, 2011
·
2 revisions
The markdown2 sources' test
sub-directory holding it's test suite.
There are a number of test sets, each in its own directory:
- tm-cases: Cases I wrote while writing markdown2.py. Many of these are very small bits of text testing a specific part of the Markdown syntax.
- markdowntest-cases: The test cases from the MarkdownTest_1.0.zip package announce on the markdown-discuss list.
- php-markdown-cases: Test cases included in the MDTest package announce on markdow-discuss in July 2007.
- php-markdown-extra-cases: Test cases included in the MDTest package (same as above) testing extra Markdown syntax that only PHP Markdown implements.
To run the test suite:
cd test
python test.py [TAGS...]
The test driver used (testlib.py) allows one to filter the tests run via short
strings that identify specific or groups of tests. Run python test.py -l
to
list all available tests and their names/tags. I use the "knownfailure" tag to
mark those tests that I know fail (e.g. the php-markdown-extra-cases
all fail
because markdown2.py doesn't implement those additions to the Markdown syntax).
To run the test suite without the known failures:
$ python test.py -- -knownfailure
markdown2/tm/auto_link ... ok
markdown2/tm/blockquote ... ok
markdown2/tm/blockquote_with_pre ... ok
markdown2/tm/code_block_with_tabs [fromphpmarkdown] ... ok
markdown2/tm/code_safe_emphasis [code_safe] ... ok
markdown2/tm/codeblock ... ok
markdown2/tm/codespans ... ok
markdown2/tm/emphasis ... ok
markdown2/tm/escapes ... ok
markdown2/tm/header ... ok
markdown2/tm/hr ... ok
markdown2/tm/inline_links ... ok
markdown2/tm/lists ... ok
markdown2/tm/nested_list ... ok
markdown2/tm/parens_in_url_4 [fromphpmarkdown] ... ok
markdown2/tm/raw_html ... ok
markdown2/tm/ref_links ... ok
markdown2/tm/safe_mode ... ok
markdown2/tm/sublist-para [questionable] ... ok
markdown2/tm/tricky_anchors ... ok
markdown2/tm/underline_in_autolink ... ok
markdown2/markdowntest/amps_and_angle_encoding ... ok
markdown2/markdowntest/auto_links ... ok
markdown2/markdowntest/backslash_escapes ... ok
markdown2/markdowntest/blockquotes_with_code_blocks ... ok
markdown2/markdowntest/hard-wrapped_paragraphs_with_list-like_lines ... ok
markdown2/markdowntest/horizontal_rules ... ok
markdown2/markdowntest/inline_html_simple ... ok
markdown2/markdowntest/inline_html_comments ... ok
markdown2/markdowntest/links_inline_style ... ok
markdown2/markdowntest/links_reference_style ... ok
markdown2/markdowntest/literal_quotes_in_titles ... ok
markdown2/markdowntest/markdown_documentation_basics ... ok
markdown2/markdowntest/markdown_documentation_syntax ... ok
markdown2/markdowntest/nested_blockquotes ... ok
markdown2/markdowntest/ordered_and_unordered_lists ... ok
markdown2/markdowntest/strong_and_em_together ... ok
markdown2/markdowntest/tabs ... ok
markdown2/phpmarkdown/backslash_escapes ... ok
markdown2/phpmarkdown/code_spans ... ok
markdown2/phpmarkdown/email_auto_links ... ok
markdown2/phpmarkdown/headers ... ok
markdown2/phpmarkdown/images_untitled ... ok
markdown2/phpmarkdown/inline_html_comments ... ok
markdown2/phpmarkdown/ins_&_del ... ok
markdown2/phpmarkdown/links_inline_style ... ok
markdown2/phpmarkdown/md5_hashes ... ok
markdown2/phpmarkdown/php-specific_bugs ... ok
markdown2/phpmarkdown/tight_blocks ... ok
markdown2/direct/code_in_strong [code, strong] ... ok
markdown2/direct/pre ... ok
markdown2/direct/starter_pre [pre, recipes] ... ok
----------------------------------------------------------------------
Ran 52 tests in 0.799s
OK
TODO: Add details about which tests in the various test sets that markdown2.py fails... and why I'm not concerned about them.
You can’t perform that action at this time.