Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit testing #6

Open
Seanny123 opened this issue May 19, 2016 · 1 comment
Open

Unit testing #6

Seanny123 opened this issue May 19, 2016 · 1 comment

Comments

@Seanny123
Copy link
Contributor

In a lot of my projects I have to do some data pre-processing or I need to make an environment node, which lends itself well to unit-testing. Would it be useful to cover how to setup unit-testing with pytest?

@Seanny123
Copy link
Contributor Author

Seanny123 commented May 30, 2016

Now that I've made the basic notebook, here's what I need to fix:

  • Assert statements can have a string associated to them
  • Fixtures arg combinations
  • Explain advantage of parameterize over constants, different named tests
  • Note the running with --pdb
  • Send output in pytest with a command link arg
  • The importance of setup.cfg for using the Nengo fixtures (see nengolib for examples)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant