That's a good idea. A good XFAIL test is different from a good normal test. In a good XFAIL test, you are really testing if something has started working at all. For example, if you want to test if integrate() can do an integral that it currently can't do, you should just test not integrate(...).has(Integral), rather than integrate(...) == answer, because the answer could take many forms, and the one you pick might not be the one that it ends up giving.
Aaron Meurer On Sun, Aug 24, 2014 at 8:48 AM, Sergey Kirpichev <[email protected]> wrote: > On Sat, Aug 23, 2014 at 11:36 PM, Aaron Meurer <[email protected]> wrote: > > Maybe it would help to finish implementing > > https://github.com/sympy/sympy/issues/7044. The biggest issue with XFAIL > > is that there will be some silly error in the way the test is written so > > that it never XPASSes, even when it should. > > We can add some documentation for developers ("how to write > XFAIL'ed tests"). The simplest case of such errors - when we can't > be sure in the exact form of the answer. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/20140824134858.GA3684%40debian. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6JbzVEitCymVFLJNCxAfKt%2BNBBjB6GyR9iARzO%2BUO7XOQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
