poldrack / pytest_tutorial

simple pytest tutorial
MIT License
66 stars 25 forks source link

simple regression testing? #4

Open djarecka opened 4 years ago

djarecka commented 4 years ago

for situations when you can't think about example with a known solution.

poldrack commented 4 years ago

can you outline what such a scheme might look like for this example?

On Wed, Aug 5, 2020 at 11:50 AM Dorota Jarecka notifications@github.com wrote:

for situations when you can't think about example with a known solution.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/poldrack/pytest_tutorial/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGUVEHGJHZPN6LX2XPAHKLR7GSY5ANCNFSM4PVZLALA .

-- Russell A. Poldrack Albert Ray Lang Professor of Psychology Building 420 Stanford University Stanford, CA 94305

poldrack@stanford.edu http://www.poldracklab.org/

djarecka commented 4 years ago

indeed, for this specific example my comment doesn't apply. It uses one specific function, that you were able to create a test with a known result.

Sorry, was thinking about more complex situation, when you either develop your own algorithm and/or you are combining more functions together.