pchomik / pytest-spec

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.
GNU General Public License v2.0
100 stars 19 forks source link

[WIP] Add cache to store information about test template #14

Open pchomik opened 7 years ago

pchomik commented 7 years ago

Issue: #11 Work plan:

pchomik commented 7 years ago

I was able to create something that works. I have to clean and organize code.

pchomik commented 7 years ago

@OddState, @tknerr could try this branch? Spec format can be specified in first 100 lines of the file. Format should be like below:

SPEC_TEST_FORMAT = '[{result}]  {name} {p0}'

where p0 is first parameter. You can add more if you like. I created one example in test/test_params.py file.

tknerr commented 7 years ago

@pchomik thanks! 👍

Let me see if I can give it a try today. Will let you know if it worked here.