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

More exercise for the pytest local episode #193

Closed
rkdarst opened this issue Sep 30, 2022 · 2 comments
Closed

More exercise for the pytest local episode #193

rkdarst opened this issue Sep 30, 2022 · 2 comments

Comments

@rkdarst
Copy link
Member

rkdarst commented Sep 30, 2022

Feedback from 2022-09 was that this was very fast and there was too much time. We weren't in a rush for the rest, and making it much faster might make it hard for those who are slower.

I suggest adding some advanced exercises to that episode. For example

  • --pdb (and anything else that helps with TDD)
  • Test-driven development (add test first, then add code to make it pass)
  • Running only certain tests with -k
  • Fixtures (maybe too advanced/would take too long for anyone who doesn't know it already)
  • Not capturing stdout with -s (this may be too esoteric but it's one of the things I use often when developing)
@tpfau
Copy link
Contributor

tpfau commented Mar 13, 2023

We actually plan to mostly skip the local testing exercises in favor for having more time and an actual (not type along) exercise for the CI setup and automated testing. i.e. letting participants set up their own small repo with tests (or rather setting up a repo without workflows that contains a few tests and have them add a new test for a function.

@bast
Copy link
Member

bast commented Sep 26, 2023

I would rather combine exercises into one block. That episode really misses R examples (#165) and other languages before we add more Python features.

@bast bast closed this as completed Sep 26, 2023
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

3 participants