[TIP] Functional test framework library for python

Harry Percival harry.percival at gmail.com
Sat May 6 10:15:36 PDT 2017


Lol.
OP: "I do not want to use bdd"
Literally the first response: "why not? you should use bdd!"

To answer your question, im not sure what robot test html output looks
like, but pytest has a galaxy of plugins, maybe one of them will do what
you want?

On Sat, 6 May 2017, 04:18 Ben Finney, <ben+python at benfinney.id.au> wrote:

> Thanks for stating your requirements. Some questions to clarify what you
> want and dont want:
>
> Matthew Harelick <mharelick at fastmail.fm> writes:
>
> > I am looking for a functional test framework written in Python. I am
> > not testing Python applications. However the internal language of the
> > Application Under Test is not relevant.
>
> If the tests are not of Python applications, what then is it that
> constrains your choice to a Python test framework?
>
> > I do not want to use Cucumber / BDD based tools.
>
> You have not, to my eye, made clear why you reject the Cucumber-style
> descriptive test case.
>
> > It also greatly limits the flexibility of what you can do in a real
> > language
>
> How so? By using Aloe [0], Behave [1], etc. you have (indeed, you must
> use) the *full* power of Python to implement the steps.
>
> So that makes the test cases as powerful as Python code, because it is
> Python code. What is the limitation you see?
>
> > I realize the point of this is to make it easier for testers and
> > project managers to understand tests but its too great a sacrifice in
> > terms of expressibility.
>
> I don't understand. Are your tests such that the conventional feature
> format of::
>
>     Given the environment is set up thus
>     And thus
>     And also thus
>     When this happens
>     And this also happens
>     The observable behaviour is that.
>
> is somehow incapable of expressing the tests you need to describe?
>
> Can you give an example of a test case you need that *cannot* be
> expressed effectively in that style?
>
>
> [0] https://pypi.python.org/pypi/aloe/
> [1] https://pypi.python.org/pypi/behave/
>
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
>
-- 

--
Harry Percival
+44 78877 02511
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20170506/9d61f3ff/attachment.html>


More information about the testing-in-python mailing list